[squid-users] Re: Squid not caching. Please help.

From: paramkrish <mkparam_at_gmail.com>
Date: Sun, 12 May 2013 00:04:56 -0700 (PDT)

Additional info:

Squid Cache: Version 3.2.3
configure options: '--prefix=/usr/local/squid' '--enable-ssl'
'--enable-removal-policies=lru heap' '--enable-ltdl-convenience'

squid.conf :

cache_mgr enghelp_at_domain.com
cache_effective_user squid
cache_effective_group squid

visible_hostname wikid-dev.domain.com

http_port 80 accel defaultsite=wikid-dev.domain.com vhost

cache_peer 10.56.102.92 parent 443 0 login=PASS name=engwikiweb1dev
sourcehash ssl sslflags=DONT_VERIFY_PEER
cache_peer 10.56.102.93 parent 443 0 login=PASS name=engwikiweb2dev
sourcehash ssl sslflags=DONT_VERIFY_PEER

acl wikid-dev dstdomain wikid-dev.domain.com
cache_peer_access engwikiweb1dev allow wikid-dev
#cache_peer_access engwikiweb2dev allow wikid-dev
cache_peer_access engwikiweb1dev allow all
#cache_peer_access engwikiweb2dev allow all
never_direct allow wikid-dev

acl LUCENE url_regex lucene
cache deny LUCENE

http_access allow wikid-dev
http_access allow all

cache_replacement_policy heap LRU
memory_replacement_policy heap LRU

cache_dir ufs /wikiweb-dev/squid-cache/var/engwikilb1/cache 2048 16 64

cache_swap_low 90
cache_swap_high 95

cache_mem 1024 MB
maximum_object_size_in_memory 4096 KB
maximum_object_size 32768 KB

logfile_rotate 3
forwarded_for truncate

cache_store_log /wikiweb-dev/squid-cache/var/engwikilb1/logs/cache_store.log
logformat squid %ts %06tr %>a %Ss/%03>Hs %<st %rm %ru %un %Sh/%<A %mt

refresh_pattern -i \.css\?.*$ 1440 50% 2880 reload-into-ims
refresh_pattern -i \.js\?.*$ 1440 50% 2880 reload-into-ims
refresh_pattern -i \.css$ 1440 50% 2880 reload-into-ims
refresh_pattern -i \.js$ 1440 50% 2880 reload-into-ims
refresh_pattern (/skins/) 1440 50% 2880 reload-into-ims
refresh_pattern -i gen=css 1440 50% 2880 reload-into-ims
refresh_pattern -i gen=js 1440 50% 2880 reload-into-ims
refresh_pattern . 0 0% 0

I would like if there is anything wrong in my config that makes not to cache
all the pages as i see only TCP_MISS statements in my access.log

-PK

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-not-caching-Please-help-tp4659918p4659924.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Sun May 12 2013 - 07:05:22 MDT

This archive was generated by hypermail 2.2.0 : Mon May 13 2013 - 12:00:05 MDT