[squid-users] SQUID 3.2 not caching URL

From: Hasanen AL-Bana <hasanen_at_gmail.com>
Date: Fri, 5 Apr 2013 23:43:21 +0300

The following URL is not getting into my squid cache no matter what I do :(
http://download.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_11_plugin.exe

wget -d http://download.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_11_plugin.exe
DEBUG output created by Wget 1.13.4 on linux-gnu.

URI encoding = `UTF-8'
URI encoding = `UTF-8'
--2013-04-05 23:35:40--
http://download.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_11_plugin.exe
Connecting to 127.0.0.1:3128... connected.
Created socket 3.
Releasing 0x0000000000c09110 (new refcount 0).
Deleting unused 0x0000000000c09110.

---request begin---
GET http://download.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_11_plugin.exe
HTTP/1.1
User-Agent: Wget/1.13.4 (linux-gnu)
Accept: */*
Host: download.macromedia.com
Connection: Close
Proxy-Connection: Keep-Alive

---request end---
Proxy request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Server: Apache
Last-Modified: Thu, 07 Mar 2013 07:42:56 GMT
ETag: "7a680e-fb90d8-4d750dadb4000"
Accept-Ranges: bytes
Content-Length: 16486616
Content-Type: application/octet-stream
Date: Fri, 05 Apr 2013 20:35:58 GMT
X-Cache: MISS from snono-systems
Via: 1.1 snono-systems (squid/3.2.9)
Connection: keep-alive

---response end---
200 OK
Registered socket 3 for persistent reuse.
Length: 16486616 (16M) [application/octet-stream]
Saving to: `install_flash_player_11_plugin.exe'

100%[===================================================================================================>]
16,486,616 295K/s in 52s

2013-04-05 23:36:32 (308 KB/s) - `install_flash_player_11_plugin.exe'
saved [16486616/16486616]

Downloading the file again returns another MISS !

my refresh pattern starts with :

#general
 refresh_pattern \.(jp(e?g|e|2)|tiff?|bmp|gif|png)
                          92560 9999% 130240 reload-into-ims
override-expire ignore-private ignore-no-store
 refresh_pattern
\.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|bz2|gz|tar|rpm|vpu)
         12560 99% 30240 override-expire reload-into-ims
ignore-private
 refresh_pattern \.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape)
                          12560 99% 30240 override-expire
reload-into-ims ignore-reload ignore-private
 refresh_pattern
\.(exe|msi|dmg|bin|xpi|iso|swf|mar|psf|cab|ipk|ipa|apk)
         92560 9999% 130240 override-expire ignore-reload
ignore-private ignore-no-store
 refresh_pattern
\.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|ogm|flv|3gp|on2)
   12560 99% 30240 ignore-reload override-expire reload-into-ims
ignore-private

my cache_dirs :
cache_dir aufs /mnt/cachedisk1/cache/store1 200000 32 512 <= 90% free
cache_dir aufs /mnt/cachedisk2/cache/store1 200000 32 512 <= 90% free

my squid.conf has the following :
 http_port 3128
 http_port 3129 intercept
 snmp_port 3401
 snmp_access allow localhost

 qos_flows tos
 qos_flows local-hit=0x30

 maximum_object_size_in_memory 512 KB
 memory_cache_mode always
 memory_replacement_policy heap GDSF
 cache_replacement_policy heap LFUDA
 store_dir_select_algorithm round-robin
 max_open_disk_fds 0
 maximum_object_size 209715200 bytes

 access_log stdio:/var/log/squid3/access.log
# access_log none
 cache_log /var/log/squid3/cache.log
 cache_store_log none
 logfile_rotate 1
 minimum_expiry_time 120 seconds
 request_header_max_size 64 KB
 reply_header_max_size 64 KB
 request_body_max_size 0 KB
 client_request_buffer_max_size 512 KB
 cache_effective_user proxy
 cache_effective_group proxy
 visible_hostname snono-systems
 fqdncache_size 4096
 pipeline_prefetch on
 max_filedescriptors 50000
Received on Fri Apr 05 2013 - 20:43:48 MDT

This archive was generated by hypermail 2.2.0 : Sat Apr 06 2013 - 12:00:03 MDT