[squid-users] Cache everything (except when client explicitely sends No-Cache directive)

From: Thibaut_ <tbritz_at_blue.lu>
Date: Thu, 14 May 2009 06:59:43 -0700 (PDT)

Hi,

I do some large batch processing and would like to explicitely cache every
page I request. (Because I sometimes request multiple pages again and don't
want to hammer the servers). If I want a fresh copy, my programm explicitely
sends a No-cache header to squid.

I'm using the following refresh pattern:

refresh_pattern . 1440 20% 4320 override-expire override-lastmod
ignore-no-cache ignore-private ignore-auth ignore-stale-while-revalidate

which however doesn't cover certain pages sending these headers:

Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma: no-cache

whieh results in a:

1242308981.140 167 127.0.0.1 TCP_MISS/200 30815 GET .....

How can I cache those as well?

-- 
View this message in context: http://www.nabble.com/Cache-everything-%28except-when-client-explicitely-sends-No-Cache-directive%29-tp23541177p23541177.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Thu May 14 2009 - 13:59:47 MDT

This archive was generated by hypermail 2.2.0 : Fri May 15 2009 - 12:00:02 MDT