Re: [squid-users] Pragma: no-cache

From: FredB <fredbmail_at_free.fr>
Date: Sat, 23 Feb 2013 12:11:30 +0100 (CET)

>
> This is an intentional change in behaviour which comes from upgrading
> Squid to perform the HTTP/1.1 protocol properly.
> http://squidproxy.wordpress.com/2012/10/16/squid-3-2-pragma-cache-control-no-cache-versus-storage/
>
> Please note the detail:
> "
> When sent on a server response:
>
> * /Pragma/ in all its forms *has no meaning whatsoever.* It must be
> ignored.
>
> "
>
> Looking at the above header with my HTTP/1.1 glasses on...
>
> * it contains HTTP/1.1 tag indicating that the sender supports
> HTTP/1.1
> properly.
>
> * it contains Cache-Control: indicating that an HTTP/1.1 recipient
> (ie
> Squid 3.2+) MAY store the response for up to 86400 seconds.
>
> * it contains Date:, Expires: and Last-Modified: headers confirming
> what
> Cache-Control has just indicated.
> eg. Last-Modified + 86400 sec == Date -Age + 86400 sec ==
> Expires.
> ... so all three HTTP/1.0 and HTTP/1.1 methods of calculating
> storage
> time come up with the 24hr caching permission for Squid.
>
> * Pragma is not defined by any of the HTTP RFCs and therefore must be
> considered to be a Entity header relating to how the end-user agent
> (ie
> browser) is supposed to display or manage that entity. It is not
> supposed to be related to Squid or other HTTP/1.1 proxies.
>
> Amos
>

Thanks Amos, more clear now
Received on Sat Feb 23 2013 - 11:11:57 MST

This archive was generated by hypermail 2.2.0 : Sat Feb 23 2013 - 12:00:04 MST