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

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sun, 16 Mar 2008 14:30:59 +0900

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.

Thats fine - don't use getright to do your snooping. Use a web browser
and then wireshark/ethereal to snaffle the request/response headers.

Adrian

> >>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.)

You'll have to do a tcpdump/ethereal/wireshark on the squid server, with full
packet body snapshotting, to see what Squid is trying to do.

Adrian

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
Received on Sat Mar 15 2008 - 23:15:38 MDT

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