franz81
(usa Slackware)
Enviado em 14/09/2010 - 22:47h
Caro Amigo fs.schmidt, agradeço desde já sua atenção tambem.
Mas já setei varias vezes essas configs de cache fiz de tudo quanto é jeito... mas não é isso cara... vou colar meu squid.conf para voce ver como ficou:
http_port 3128 transparent
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache_mem 128 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size_in_memory 128000 KB
maximum_object_size 600000 KB
minimum_object_size 0 KB
cache_dir ufs /var/log/squid/cache 2048 16 256
cache_log /var/log/squid/cache.log
acl apache rep_header Server ^Apache
access_log /var/log/squid/logs/access.log squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl redeinterna src 192.168.0.0/16
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
cache deny QUERY
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow redeinterna
http_access deny all
icp_access allow all
coredump_dir /var/log/squid/cache
store_avg_object_size 1000 MB
request_body_max_size 700 MB