Thanks for the answer. > > 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? > > ... > > I only want to make > > it inpossible to "force fresh content" by pressing Shift-Reload (or > > similar) in the browser... > > 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. Why a double question? When I use "Shift-Reload" with by browser, it sends a HTTP request with "Pragma: no-cache" header... However, ignoring "Pragma:no-cache" is impossible at the moment (without patching squid), right? So a request with that header set *always* makes squid ask the origin server? (Ehm, I forgot to say, that I am running squid as a transparent reverse proxy for an always overloaded application server :-). > > 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 ? In this case the origin server had to be asked always. This is ok, I only don't want cached content to be fetched more often then really necessary from the origin server. > > 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. I see, thanks! Regards -stefan- -- ------------------------------------------------------------------- Dipl. Inf. (FH) Stefan Palme email: kleiner@xxxxxxxxxxxxxxx www: http://hbci4java.kapott.org icq: 36376278 phon: +49 341 3910484 fax: +49 1212 517956219 mobil: +49 178 3227887 key fingerprint: 1BA7 D217 36A1 534C A5AD F18A E2D1 488A E904 F9EC -------------------------------------------------------------------