Search squid archive

Re: Cache-Control: public doesn't cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux