Search squid archive

Re: Caching files from Amazon S3

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

 



On Wed, 2008-03-19 at 10:50 +0500, Abidoon Nadeem wrote:
> Is there a way to manipulate these headers so that squid would cache these 
> images?
> 
> We tried header manipulation at the PHP level but no matter what headers we 
> sent squid automatically attaches these
> 
> Cache-Control: private, must-revalidate, max-age=0

Squid never attaches these. They come from your server.

> If there is a way to make squid cache this by adding some options in 
> squid.conf please let me know. I would reallly appreciate it. Our whole 
> application right now has come to halt because we need some kind of caching 
> solution.

You can override most Cache-Control options in refresh_pattern, but you
really really really should fix your server to sent a more appropriate
Cache-Control header to start with.

Regards
Henrik


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

  Powered by Linux