Search squid archive

squid and files cache between multiple pc

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

 



hi all
I've a strange problem with squid v3.1.20

Using squid also to cache "big" files (for big I mean >20Mb), happens that if a pc download a file, first time file has downloaded from internet. Second time from squid cache. Everything ok But: if I try to download same file from another pc, same file come downloaded from internet and not via squid.

Why?

thanks!

maximum_object_size 5 Gb
cache_dir ufs /data/vmware/squid-cache 30720 16 256
cache_mem 4096 MB

minimum_object_size 0
maximum_object_size_in_memory 512 Kb
cache_replacement_policy heap GDSF

cache_swap_low 85
cache_swap_high 90

half_closed_clients off

hosts_file /etc/hosts
memory_pools off
client_db off
dns_nameservers 127.0.0.1

via off
forwarded_for off
httpd_suppress_version_string off
follow_x_forwarded_for deny all
#visible_hostname sign.bunker.org

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 10080 90% 43200 override-expire ignore-no-cache ignore-no-store ignore-private
refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$ 43200 90% 432000 override-expire ignore-no-cache ignore-no-store ignore-private
refresh_pattern -i \.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff)$ 10080 90% 43200 override-expire ignore-no-cache ignore-no-store ignore-private
refresh_pattern -i \.index.(html|htm)$ 0 40% 10080
refresh_pattern -i \.(html|htm|css|js)$ 1440 40% 40320
refresh_pattern . 0 40% 40320

refresh_pattern -i movies.com/.* 10080 90% 43200
refresh_pattern (/cgi-bin/|\?) 0 0% 0
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

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

  Powered by Linux