[squid-users] PLEASE HELP : Reverse accelerator no caching happening

From: diginger <ahmad.laiq_at_gmail.com>
Date: Tue, 18 Jan 2011 08:34:54 -0800 (PST)

Hi,

I am very new to squid. I am trying to configure squid for website
accelerator.

My website is runnnig on diffrent machine and port than squid.
Following
http://wiki.squid-cache.org/ConfigExamples/Reverse/BasicAccelerator online
guide I have done the following configuration

#These two lines are on top of config file
http_port 80 accel defaultsite=<mysite DNS>:8081
cache_peer 192.234.172.25 parent 8081 0 no-query originserver name=myAccel

# And finally deny all other access to this proxy
#http_access allow localhost
#http_access deny all
http_access allow our_sites
cache_peer_access myAccel allow our_sites
cache_peer_access myAccel deny all

My request to squid is getting forwarded to my originserver and I am getting
the proper response but it is not getting cache so It is always TCP_MISS/200
and no TCP_HIT in my access.log

my request to squid also containes query string which get fwd. to
originserver. if I remove everything after ? from URL then I get
TCP_NEGATIVE_HIT/400 in access log.

Would appreciate a lot if some one could guide me what is the problem in my
squid configuration.

Thanks

-- 
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/PLEASE-HELP-Reverse-accelerator-no-caching-happening-tp3223417p3223417.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Tue Jan 18 2011 - 16:34:55 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 18 2011 - 12:00:03 MST