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
#------------------------------------------------------------------
Servidor de Backup com Ubuntu Server 24.04 LTS, RAID e Duplicati (Dell PowerEdge T420)
Visualizar câmeras IP ONVIF no Linux sem necessidade de instalar aplicativos
Atualizar Debian Online de uma Versão para outra
Instalar driver Nvidia no Debian 13
Redimensionando, espelhando, convertendo e rotacionando imagens com script
Debian 13 Trixie para Iniciantes
Convertendo pacotes DEB que usam ZSTD (Padrão Novo) para XZ (Padrão Antigo)
Problema com impressoras de rede (0)
Ajuda com o Debian 13 - Video hibrido geforce 940 mx Wayland OFF (1)