Re: [squid-users] Prevent caching of 302's?

From: Amos Jeffries <squid3@dont-contact.us>
Date: Tue, 30 Oct 2007 13:38:28 +1300 (NZDT)

> It seems our squid box is caching 302 Moved Temporarily responses...
> Which is annoying as the upstream proxy is (IMO brokenly) using this
> method to direct clients to a password reset page every 60 days. The
> redirect is cached which means the password reset page comes up for any
> sites that caused it to show in the first place.
>
> Is there a way to tell Squid to never cache 302 redirects? Or even
> better, can I do it if the redirect sends it to a certain host?
>

Starting from squid 3.0 the 'http_status' ACL is available.

acl broken302 http_status 302
cache deny Broken302

Amos
Received on Mon Oct 29 2007 - 18:38:30 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:02 MDT