[squid-users] squid for images only (never revalidated)

From: tacoen <[email protected]>
Date: Fri, 5 Jan 2007 12:18:42 +0900

Hi,

I had this configuration in my mind for a long time, I wonderring had
anyone tested and using this kind of configurations. Comments perhaps

for/in Squid 2.6.18 :

offline_mode on

acl all-in dst 0/0
acl images urlpath_regex -i "/home/admin/images.txt"
acl images_mime rep_mime_type "/home/admin/images-mime.txt"
acl QUERY urlpath_regex cgi-bin
acl QUERY urlpath_regex \?

cache allow images
cache allow images_mime
cache deny QUERY
cache deny all-in

-----------
in /home/admin/images.txt :

\.gif$
\.jpg$
\.png$

---------
in /home/admin/images-mime.txt :

image/gif
image/jpg
image/png

-- 
Oh, this is my hypertext version:
http://tacoen.smedia.or.id
http://www.flickr.com/photos/tacoen-and-tacoen/
Received on Thu Jan 04 2007 - 20:18:46 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:00 MST