Search squid archive

Re: ignoring no-cache-requests?

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

 




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.

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

  Powered by Linux