Support Cache-Control no-cache/private as per RFC2616 ?

BUSTARRET, Jean-francois jfbustarret at wat.tv
Fri Nov 16 12:23:18 CET 2007


"If the no-cache directive does not specify a field-name, then a cache MUST NOT use the response to satisfy a subsequent request without successful revalidation with the origin server. This allows an origin server to prevent caching even by caches that have been configured to return stale responses to client requests."
 
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.1
 
varnish currently only uses max-age to check the cacheability of objects, and not Pragma: no-cache or Cache-Control: no-cache/private. This can be done with some vcl code, but IMHO vcl is not the right place.
 
Why not fully support RFC2616 caching ?
 
Jean-François Bustarret
WAT - Responsable technique
http://www.wat.tv
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20071116/fdc2cb52/attachment-0001.html>


More information about the varnish-misc mailing list