Search squid archive

Re: no cache 404 for a special domain

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

 



On 25/11/10 19:52, Compu Serve wrote:
Hello list,

I'm running squid for reverse proxy.

I have been setting up "negative_ttl 0 seconds" for no caching all 404
like pages.
But now I want to no cache for a special domain with 404 response, but
not others.

for example,

www.abc.com  404 will get no cache.
but www.def.com  404 page can be cached.

How to setup it? Thanks in advance.

Configure the web server at www.def.com to send Expires, Last-Modified and/or Cache-Control headers as appropriate to match your caching needs.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.9
  Beta testers wanted for 3.2.0.3


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

  Powered by Linux