[squid-users] When the redirect [301, 302, 307] is cached by Squid?

Amos Jeffries squid3 at treenet.co.nz
Tue Sep 19 15:17:34 UTC 2017

On 20/09/17 02:00, kAja Ziegler wrote:
> Hi all,
>    I want to ask why my Squid does not cache redirects 301, 302 and 307. 
> See anomised example below. Even if I call the URL more times or I open 
> it in the browser, I always get MISS independently of the return code 
> 301, 302 or 307.

302 and 307 are not because as their status description indicates they 
are *temporary* results. They can only be cached if there are explicit 
details from the server indicating for how long.

301 should be cached unless the object would need revalidation immediately.


More information about the squid-users mailing list