[squid-users] squid always "missing" images

From: Jayel Villamin <[email protected]>
Date: Sat, 26 Apr 2008 09:48:11 +0930

I have been using squid for awhile in my windows box. i just noticed
that squid seems to
be redownloading the same image all the time. I previosly have
disabled access.log so I turned it on.

I viewed an image (from a website importing cars from japan) and
Firefox begins to download it. I looked at the access.log and I get a
"tcp_miss" for this image. I clicked on next to view the next image and
again it's a "tcp_miss" as it should be. I do this until I get to the end
of the list of images for the car.

The problem is that when I clicked on previous to view the previous
image, Firefox begins to redownload the image. I checked access.log
and I still get a "tcp_miss". I did this several time and it seems it's
all a "miss" for the same image.

I thought squid is suppose to just retrieved the image from the cache?

I have setup my squid to use:

cache_memory_replacement is the default
cache_replacement_policy heap LFUDA
cache_dir ufs c:/squid/var/cache 13312 16 256

Thanks for the help :)

============

here's a snippet of my access log. Please note the double "miss"
entries. (1st and last lines)

1209124884.112 22063 192.168.1.2 TCP_MISS/200 171857 GET
http://www.j-spec.com.au/list/12536/3.jpg - DIRECT/67.15.56.51
image/jpeg
1209124890.565 750 192.168.1.2 TCP_MISS/200 1278 GET
http://www.j-spec.com.au/popup.php? - DIRECT/67.15.56.51 text/html
1209124916.659 26078 192.168.1.2 TCP_MISS/200 205313 GET
http://www.j-spec.com.au/list/12536/2.jpg - DIRECT/67.15.56.51
image/jpeg
1209124972.237 656 192.168.1.2 TCP_MISS/200 1278 GET
http://www.j-spec.com.au/popup.php? - DIRECT/67.15.56.51 text/html
1209124986.768 922 127.0.0.1 TCP_MISS/200 3676 GET
http://forecastfox.accuweather.com/adcbin/forecastfox/weather_data.asp?
- DIRECT/12.120.29.14 text/xml
1209124990.331 3469 127.0.0.1 TCP_CLIENT_REFRESH_MISS/200 5243 GET
http://sirocco.accuweather.com/adc_sat_108x81_public/ir/isaust.gif -
DIRECT/12.120.29.14 image/gif
1209124995.393 23141 192.168.1.2 TCP_MISS/200 171857 GET
http://www.j-spec.com.au/list/12536/3.jpg - DIRECT/67.15.56.51
image/jpeg
Received on Sat Apr 26 2008 - 00:18:14 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT