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

2008-03-19 Thread Henrik Nordstrom
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,

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

2008-03-18 Thread Henrik Nordstrom
On Sun, 2008-03-16 at 14:30 +0900, Adrian Chadd wrote: Cache-Control: private, must-revalidate, max-age=0 This is a hint that squid is going to have to revalidate the object and its almost guaranteed to try a revalidation request (if-none-match, if-modified-since, etc.) It's worse.

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

2008-03-18 Thread Henrik Nordstrom
PROTECTED] Cc: Abidoon Nadeem [EMAIL PROTECTED]; squid-users@squid-cache.org Sent: Monday, March 17, 2008 7:09 AM Subject: Re: [squid-users] Caching files from Amazon S3

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

2008-03-16 Thread Robert Collins
On Sun, 2008-03-16 at 14:04 +0900, Adrian Chadd wrote: Annoyingly, why the hell is the request from the client a range request? Squid can't easily cache those unless it somehow fetches the entire object first. FWIW -3 has about 60% of the work needed to cache fragments done. Whats missing is a

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

2008-03-16 Thread Abidoon Nadeem
-users] Caching files from Amazon S3

[squid-users] Caching files from Amazon S3

2008-03-15 Thread Abidoon Nadeem
Hi, We are stuck with a unique situation and require some help. We are trying to use squid as a reverse proxy. I have been able to configure it to cache normal images such as abc.gif residing on the local hard drive. I run the webserver on a virtual ip and have squid running our internet

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

2008-03-15 Thread Adrian Chadd
Annoyingly, why the hell is the request from the client a range request? Squid can't easily cache those unless it somehow fetches the entire object first. Adrian On Sat, Mar 15, 2008, Abidoon Nadeem wrote: Hi, We are stuck with a unique situation and require some help. We are trying to

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

2008-03-15 Thread Abidoon Nadeem
: Adrian Chadd [EMAIL PROTECTED] To: Abidoon Nadeem [EMAIL PROTECTED] Cc: squid-users@squid-cache.org Sent: Sunday, March 16, 2008 10:04 AM Subject: Re: [squid-users] Caching files from Amazon S3 Annoyingly, why the hell is the request from the client a range request? Squid can't easily cache those

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

2008-03-15 Thread Adrian Chadd
On Sun, Mar 16, 2008, Abidoon Nadeem wrote: Well I was using getright to download the image from the client end and it has an option which allows me to see the headers sent and recieved. However even when I try with a normal browser I still get the same issue. The images are not cached.