[PATCH] Improve application of the default ttl by response status, code

Nils Goroll slink at schokola.de
Thu Dec 18 11:43:07 CET 2014

Ref: https://tools.ietf.org/html/rfc7231#section-6.1


* 302 Found
* 307 Temporary Redirect

  Do not apply the default ttl, only set a ttl if Cache-Control or Expires are
  Responses with these status codes are not cacheable by default

* 414 Request-URI Too Large

  Cacheable with "heuristic expiration"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Improve-application-of-the-default-ttl-by-response-s.patch
Type: text/x-patch
Size: 2396 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20141218/13ec8d85/attachment-0001.bin>

More information about the varnish-dev mailing list