Search squid archive

Do not cache 302 !!

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

 



Hello the list,

  I put this directive in my squid.conf :

acl redirect rep_header Location .
no_cache deny redirect

So I expect that all response with Location header will be not cache.

Or when the first url is
HTTP/1.1 302 Moved Temporarily
Date: Thu, 28 Jan 2010 10:42:26 GMT
...
Expires: Fri, 29 Jan 2010 10:42:22 GMT
Location: ...
Cache-Control: max-age=3D86400, s-maxage=3D86400, public, proxy- revalidate
Content-Type: text/html;charset=3Dutf-8
...
X-Cache: MISS from ...
X-Cache-Lookup: MISS from ...:3128
Via: 1.0 ...:3128 (squid/2.6.STABLE23)

And the second :
HTTP/1.1 302 Moved Temporarily
Date: Thu, 28 Jan 2010 10:42:26 GMT
...
Expires: Fri, 29 Jan 2010 10:42:22 GMT
Location: ...
Cache-Control: max-age=3D86400, s-maxage=3D86400, public, proxy- revalidate
Content-Type: text/html;charset=3Dutf-8
Age: 30
X-Cache: HIT from frdplirzof1
X-Cache-Lookup: HIT from frdplirzof1:3128
Via: 1.0 ... (squid/2.6.STABLE23)

So the rule doesn't work. I don't why ?
Have you a method to avoid caching redirection in squid ? (I can't change
the cache-control header)
Thanks a lot for answer , regards Youenn


Youenn Boussard
INGENIWEB (TM) - SAS 50000 Euros - RC B 438 725 632
1, rue Royale
227, Les Bureaux de la Colline - Bat D
92213  - Saint Cloud Cedex
Tél : 01 78 15 24 00 / Fax : 01 46 02 44 04








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

  Powered by Linux