Search squid archive

cache config

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

 



Hi everyone, i have 100 GB on my cache partition, but squid only use 1.5 GB. My internet connection its incredibly slow, any advice on how optimize my connection will be appreciated.

This is the configuration of my cache.

maximum_object_size 300 MB
cache_dir aufs /var/cache/squid3 1024000 16 256
cache_mem 256 MB
cache_store_log /var/cache/squid3/cache_store.log
coredump_dir /var/cache/squid3/dump
minimum_expiry_time 600 seconds
cache_swap_low 87
cache_swap_high 90
############################
client_db off
offline_mode off
cache_swap_low 87
cache_swap_high 90
cache_replacement_policy heap GDSF
maximum_object_size_in_memory 128 KB
chunked_request_body_max_size 4096 KB
half_closed_clients off
############################
# establecemos los archivos de volcado en /var/cache/squid3/
coredump_dir /var/cache/squid3/
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-store ignore-private refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$ 43200 90% 432000 override-expire ignore-no-store ignore-private refresh_pattern -i \.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff|pdf)$ 10080 90% 43200 override-expire 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

--
Saludos Cordiales

Lic. Alex Gutiérrez Martínez



_______________________________________________
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