Conditional requests / if-modified-since not working
Raphaël Malié
raphael.malie at gmail.com
Fri Jan 22 15:32:23 CET 2016
Hello,
I did a fresh install of Varnish 4.1 to test conditional requests with a
last-modified header sent from the backend, here are my backend headers:
Cache-Control: must-revalidate, proxy-revalidate, public
Last-Modified: Fri, 22 Jan 2016 14:27:50 GMT
On the next query, Varnish should try to contact the backend with a
if-modified-since header, and the backend shoud send back a "304 not
modified" answer if nothing changed.
But Varnish never tries to contact the backend, he is always caching my
page with the default ttl (120s).
Thank you for any help,
Raphaël
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160122/da201a67/attachment.html>
More information about the varnish-misc
mailing list