Hi
I have updated my squid version 3.0 STABLE25. But its caching for the bad
response i.e. TCP_NEGATIVE_HIT/204 or TCP_NEGATIVE_HIT/400 but not caching
for sttaus code 200 i.e.TCP_MISS/200.
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
Do squid need to be configured diffrently for diffrent content type? I have
application/json set as header content type as I am expevtin JSON response.
Pease guide, thanks in advance.
-- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/What-http-headers-required-for-squid-to-work-tp3223434p3225134.html Sent from the Squid - Users mailing list archive at Nabble.com.Received on Wed Jan 19 2011 - 11:33:50 MST
This archive was generated by hypermail 2.2.0 : Wed Jan 19 2011 - 12:00:03 MST