Enviado em 23/01/2013 - 15:30h
Meu squid não esta fazendo cache
#------------------------------------------------------------------
acl manager proto cache_object
acl redelocal src 192.168.1.0/24
acl localhost src 127.0.0.1/32
#------------------------------------------------------------------
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
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 Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl Safe_ports port 5000 # VPN
#------------------------------------------------------------------
acl CONNECT method CONNECT
acl purge method PURGE
#------------------------------------------------------------------
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
#------------------------------------------------------------------
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#------------------------------------------------------------------
http_access allow redelocal
http_access allow localhost
#------------------------------------------------------------------
http_access deny all
#------------------------------------------------------------------
http_port 3128
#------------------------------------------------------------------
cache_mem 256 MB
#------------------------------------------------------------------
maximum_object_size_in_memory 512 KB
#------------------------------------------------------------------
memory_replacement_policy heap GDSF
#------------------------------------------------------------------
cache_replacement_policy heap LFUDA
#------------------------------------------------------------------
cache_dir aufs /var/spool/squid3 20048 16 256
#------------------------------------------------------------------
minimum_object_size 128 KB
maximum_object_size 4 GB
#------------------------------------------------------------------
cache_swap_low 70
cache_swap_high 80
#------------------------------------------------------------------
access_log /var/log/squid3/access.log squid
#------------------------------------------------------------------
cache_store_log none
#------------------------------------------------------------------
mime_table /usr/share/squid3/mime.conf
#------------------------------------------------------------------
cache_log /var/log/squid3/cache.log
#------------------------------------------------------------------
coredump_dir /var/spool/squid3
#------------------------------------------------------------------
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320
#------------------------------------------------------------------
cache_mgr email@hotmail.com
#------------------------------------------------------------------
visible_hostname linux
#------------------------------------------------------------------
detect_broken_pconn on
#------------------------------------------------------------------
global_internal_static on
#------------------------------------------------------------------
error_directory /usr/share/squid3/errors/Portuguese
#------------------------------------------------------------------
memory_pools on
memory_pools_limit 32 MB
#------------------------------------------------------------------
pipeline_prefetch on
#------------------------------------------------------------------
Aprenda a Gerenciar Permissões de Arquivos no Linux
Como transformar um áudio em vídeo com efeito de forma de onda (wave form)
Como aprovar Pull Requests em seu repositório Github via linha de comando
Visualizar arquivos em formato markdown (ex.: README.md) pelo terminal
Dando - teoricamente - um gás no Gnome-Shell do Arch Linux
Como instalar o Google Cloud CLI no Ubuntu/Debian
Mantenha seu Sistema Leve e Rápido com a Limpeza do APT!
Procurando vídeos de YouTube pelo terminal e assistindo via mpv (2025)
O que você está ouvindo agora? [2] (186)
O 1º artigo a gente nunca esquece (0)
Pastas da raiz foram para a área de trabalho [RESOLVIDO] (8)