>
> Hi all,
>
> Is there a way to force squid to ignore all "Pragma: no-cache" and
> similar directives, so that squid *always* returns cached content,
> when it is available?
This is a double question. The first part, ignoring 'Pragma: no-cache' requires
changes to the source probably. There has been a thread on this
very recently, see the archives.
> Of course, when the cached content is stale,
> squid should forward the request to the origin.
What if the cached content, would be always stale ?
> I only want to make
> it inpossible to "force fresh content" by pressing Shift-Reload (or
> similar) in the browser...
>
> I know, this maybe violates HTTP standard, but for this special
> application this is ok :-)
>
This though, can be done. See the options 'reload-into-ims' and or
'ignore-reload' of
the 'refresh_pattern' directive.
Options are described in squid.conf.default.
M.
Received on Mon Dec 25 2006 - 09:06:23 MST
This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST