Hi list,

I have looked everywhere and cannot find what my problem here is.  I cannot
seem to get a refresh_pattern to work.

Currently, the cache is tcp_miss'ing 99.9%+ of the traffic going to it.
Although I believe I defined it below, I cannot get a single gif to serve
from the cache.

I used the default squid.conf and added the following:

http_port 8080
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy  on
httpd_accel_uses_host_header on
http_access allow all
cache_mem 256 MB
cache_dir ufs /usr/local/squid/cache 15360 16 256
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern \.gif$          10080   100%    43200   override-expire
reload-into-ims
refresh_pattern .               0       20%     4320

If it matters, squid is running on a freebsd 4.10 nat box with ipfw
intercepting port 80 to 8080.

Please offer any insight into why gifs are not being loaded from cache.

Tom


Reply via email to