Re: [squid-users] Caching files from Amazon S3

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 19 Mar 2008 07:43:24 +0100

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
Received on Wed Mar 19 2008 - 00:44:56 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT