Search squid archive

squid for images only (never revalidated)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux