Checking for purge prevents caching
des at linpro.no
Wed Mar 28 09:45:33 CEST 2007
Anton Stonor <stonorn at giraffen.dk> writes:
> At first glance that kind of works. When somebody hits <ctrl>-F5 the
> page gets purged and I get my custom error message.
> However suddenly the page is not served from the cache _at all_. That
> is unless I just hit F5, _then_ I get a cached page. Hitting F5 sends
> this request header in Firefox:
> Cache-Control: max-age=0
> I don't send any caching headers on the backend if that matters, just
> relying on the default Varnish fallback to 120 sec.
> Any ideas?
Hard to tell without logs...
Senior Software Developer
Linpro AS - www.linpro.no
More information about the varnish-misc