Re: [squid-users] RE: Squid 3.0 as reverse proxy

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 24 Nov 2009 12:41:07 +1300

On Mon, 23 Nov 2009 14:21:11 -0900, Chris Robertson <crobertson_at_gci.net>
wrote:
> Sébastien WENSKE wrote:
>> Sorry I've make a mistake, the url to get the original picture is
>>
http://gallery.wenske.fr/wallpapers/holland_dream_2560x1600.jpg.html?z&p=full-image
>>
>> This will force the download of the picture.
>>
>> Regards,
>>
>> Sebastien WENSKE
> Your gallery software is not cache-compatible...
>
> HTTP/1.0 200 OK
> Date: Mon, 23 Nov 2009 23:16:13 GMT
> Server: Apache
> X-Powered-By: PHP/5.2.6-1+lenny3
> Set-Cookie: zenphoto_auth=deleted; expires=Sun, 23-Nov-2008 23:16:12
> GMT;
> path=/
> Set-Cookie: PHPSESSID=d2e5cd52ab93d6b7c2e7a72e87327d72; path=/
> Expires: Thu, 19 Nov 1981 08:52:00 GMT
> Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-
> check=0
> Pragma: no-cache
> Status: 200 OK
> Last-Modified: Mon, 23 Nov 2009 23:16:13 GMT
> Content-Disposition: attachment;
filename="holland_dream_2560x1600.jpg"
> Vary: Accept-Encoding
> Content-Encoding: gzip
> Content-Type: image/jpeg
> X-Cache: MISS from sl03.wenske.local
> Via: 1.0 sl03.wenske.local (squid/3.1.0.14)
> Connection: close
>
> See the Cache-Control, Last-Modified and Expires headers? Very cache
> unfriendly.

Pragma: as well. thats really going over and above to prevent anyone (your
reverse proxies included) from storing the content in transit.

Note that these only prevent caches from reducing your internet costs for
transit and speeding up the downloads. The end-viewers who are most likely
to want to capture the images can still trivially download and save the
images.

Amos
Received on Mon Nov 23 2009 - 23:41:11 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 24 2009 - 12:00:04 MST