Search squid archive

Re: cache keeping downloaded files

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

 



On 14.04.11 12:08, Jason Greene wrote:
> Can some one tell me if it is possible to make squid not cache a single
> domain?

it is, however...

> We have a service that downloads a file and squid seems to be keeping
> the old file in cache so we are not getting the updates.

the webserver probably provides incorrect data about the file, so squid does
not check whether the cached content is fresh.

> How do I set squid to not cache a domain and/or how do I clear that
> domain's cache and/or how to I change the life (ttl) of the cache?

You can use the 'cache' directive.

But it's much better to find out why doesn't squid revalidate the object.

Can you fetch the file directly from the server and look at the headers? 

-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
2B|!2B, that's a question!


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

  Powered by Linux