Hi... I compiled the version following the instructions on https://www.varnish-cache.org/trac/wiki/BackendConditionalRequests, and using varnishlog I already see the headers If-Modified-Since and If-None-Match. But when the obj.ttl expires, varnish gets a 200 from backend and I was expecting 304.
Somebody knows what could be wrong? Tks On Wed, Jun 13, 2012 at 5:51 PM, Hugo Cisneiros (Eitch) < [email protected]> wrote: > On Wed, Jun 13, 2012 at 3:33 PM, Paulo Paracatu > <[email protected]> wrote: > > There is a patch to do this: Backend Conditional Requests > > https://www.varnish-cache.org/trac/wiki/BackendConditionalRequests > > > > But I don't really know the status of it. I don't see anyone talking > about > > it here since few months ago. > > I have tried this patch in the past and it worked very well. > > The only reason I didn't use in production yet is because it does not > really help me because here Apache is generating the pages with some > Server Side Includes. I did some tests and if the content of a SSI > changes, Apache will not update the original etag since the static > html never changed. > > But this is a limitation of Apache and not the patch. Give it a try! :) > > -- > []'s > Hugo > www.devin.com.br > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc >
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
