Hola Lista!!

Necesito saber que puedo hacer para saber si mi Squid esta haciendo 
Cache realmente. Es que veo que muchas páginas que he accedido con 
antelación se me demoran mucho en volver a cargar. Yo he intentado 
configurar algunos parametros que me han recomendado otros amigos, pero 
sigo viendo que los clientes siguen haciendo las peticiones y el proxy 
las busca fuera de su cache.
Saludos,
David

Aqui envio la configuiracion:

http_port 192.168.0.2:3128

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 64 MB

maximum_object_size 51200 KB
maximum_object_size_in_memory 16 KB

cache_dir ufs /var/spool/squid 1024 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log

ftp_user [email protected]
ftp_list_width 32
ftp_passive on
ftp_sanitycheck on

auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours

refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               2880    20%     4320

............. AQUI VAN LAS ACL...........

delay_access 1 allow slow_transfers
delay_access 1 deny all

delay_class 2 1
delay_parameters 2 2048/32000
delay_access 2 allow LAN-CONFIANZA
delay_access 2 deny all

icp_access allow all

visible_hostname proxy.cnap.snap.cu
error_directory /etc/squid/errors-sp

coredump_dir /var/spool/squid

logfile_rotate 7

offline_mode off

cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF

forwarded_for off

#  TAG: quick_abort (KB)
quick_abort_min 16 KB
quick_abort_max 64 KB
quick_abort_pct 30

#  TAG: reload_into_ims on|off
reload_into_ims on

#  TAG: collapsed_forwarding    (on|off)
collapsed_forwarding on

#  TAG: refresh_stale_hit       (time)
refresh_stale_hit 10 seconds

#  TAG: half_closed_clients
half_closed_clients off





-- 
_____________________________________________
Lic. David González Romero
Network/System Administrator
CNAP- Centro Nacional Áreas Protegidas
Calle 18A # 4114 e/41 y 47. Playa. CP: 11300
Telf:(537)2068224, 2027970 Fax:(537) 2040798
Linux counter: 242534
_____________________________________________
_______________________________________________
Cancelar suscripción
https://listas.softwarelibre.cu/mailman/listinfo/linux-l
Buscar en el archivo
http://listas.softwarelibre.cu/buscar/linux-l

Responder a