Search squid archive

Squid asking if cached objects are modified

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

 



I have two pc's with Fedora core 10 and squid.3.0.STABLE13 The content
of squid.conf file in both pc's is the same. Squid is configured as an
accelerator.  

Squid stores the objects correctly in both pc's, but in one pc it is
always asking to the http server if the object is modified, and I don't
know why. If I stop the http server, then gets the cached object. The
other pc is always getting the cached object. The http server sends
always the mage-axe=86400 value in the header.

What I am doing wrong? My squid.conf file content is this:


acl manager proto cache_object
acl localnet src 192.168.0.0/16
acl myserver.com src 192.168.0.0/16
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
acl Purge method PURGE
check_hostnames on
hosts_file /etc/hosts
dns_defnames on
http_access allow all Purge
minimum_expiry_time 120 seconds
http_access allow manager localhost
http_access allow manager
http_access allow !Safe_ports
http_access allow CONNECT !SSL_ports
http_access allow localhost
http_access allow !localnet
http_access allow myserver.com
hierarchy_stoplist cgi-bin ?
access_log /var/log/squid/access.log squid #acl QUERY urlpath_regex
cgi-bin \?
#no_cache deny QUERY
cache allow all
#refresh_pattern ^ftp:		1440	20%	10080
#refresh_pattern ^gopher:	1440	0%	1440
#refresh_pattern .		0	20%	4320
refresh_pattern .		0	0%	0
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
coredump_dir /var/spool/squid
cache_dir ufs /var/spool/squid 700 32 512 maximum_object_size 88300000
KB cache_mem 120 MB http_port 3128 accel defaultsite=myserver.com:8080
cache_peer myserver.com parent 80 0 no-query originserver forwarded_for
on
icp_port        3130
icp_access allow all
acl HOME        dstdomain .home.nl
always_direct allow all
never_direct allow HOME
never_direct allow all
cache_peer_access myserver.com allow all http_access allow HOME
http_access allow all

myserver.com is in the etc/hosts file and in both pc's is the same.

Thank you,

Daniel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux