Search squid archive

Re: cache of 404 and redirects

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

 



Christian Seifert wrote:
Hi there, is there a way to instruct squid to cache pages that return errors and redirects, like 404 and 302?

As for the 404s look to the "negative_ttl" directive (http://www.squid-cache.org/Versions/v2/2.6/cfgman/negative_ttl.html). 302s need to be sent with expiry information to be cacheable. See http://www.squid-cache.org/mail-archive/squid-users/200701/0001.html for more info.

Thx
Christian

Chris

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

  Powered by Linux