On 29/04/2014 4:19 a.m., Rob van der Putten wrote:
> Hi
>
>
> AFAIK 'Cache-Control: public, no-transform' is cacheable. But Squid
> (3.3.8) doesn't cache.
>
That one header does not make it cacheable...
* "no-transform" has no meaning at all in regards to cacheability.
* "public" is only meaningful when authentication is being used.
... in HTTP/1.1 everything is considered cacheable unless the protocol
defines a reason not to.
Squid may choose not to cache for many other reasons related to the
request headers, response headers, server trustworthiness, age of the
object on arrival, and available storage space.
Some reasons in the protocol are broad, like "a response to an unknown
method is not cacheable". **
Others are very specific, like "a cached object with Cache-Control
no-cache or must-revalidate may only be used as a response after a
successful revalidation (304 not modified) from the origin server." **
** very rough paraphrasing by me.
Amos
Received on Mon Apr 28 2014 - 17:13:47 MDT
This archive was generated by hypermail 2.2.0 : Tue Apr 29 2014 - 12:00:07 MDT