I have several questions regarding conditional requests in Varnish. (I have read many messages in the archives already and I've read as much VCL documentation as I could find.)
(1) I have a back-end that is very fast for validating ETags and generating 304 Not Modified, but very slow when it has to return a new response body. My understanding is that Varnish will never send conditional requests to the backend, and it cannot use a 304 response to update the freshness information for an already-cached response. Is that correct? If so, is there a way to do that in VCL? Would you be willing to accept patches to implement that behavior in the core? (2) I would like to cache entities with max-age=0 by using the logic from (1) above to always revalidate the cached representation with the back-end. What is the VCL code for doing this? If this is not possible, would you accept a patch to make this possible? Thanks, Brian _______________________________________________ varnish-misc mailing list [email protected] http://projects.linpro.no/mailman/listinfo/varnish-misc
