Search squid archive

squid cache TCP_REFRESH_MODIFIED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
I am using squid to cache dynamic responses from my particular server

everything working fine,
When I make first request access.log has
1329473470.110 0 192.168.0.40 TCP_MISS/200 856 GET http://[ipv6address]:8080/.well-known/core - DIRECT/::1 text/html

Next request it logs following
1329473479.050 0 192.168.0.40 TCP_REFRESH_MODIFIED/200 856 GET http://[ipv6address]:8080/.well-known/core - DIRECT/::1 text/html

request is in cache but due to resources being changed response is from origin server( I've ignored must revalidated in refresh pattern). I wanted request should be served from cache even if its modified and log TCP_HIT or TCP_MEM_HIT in access.log. any idea what might be going wrong??? suggestion how to tell squid not send revalidiate signal to origin server to cross check for resource modification???

server header response is as follows

(Status-Line)    HTTP/1.0 200 OK
Date    Fri, 17 Feb 2012 10:11:19 GMT
Content-Type    text/html
Last-Modified    Wed, 15 Feb 2012 07:48:34 GMT
Accept-Ranges    bytes
Content-Lenght    8334
Cache-Control    max-age=86400,public
Expires    Sat, 18 Feb 2012 04:41:30 GMT
X-Cache    MISS from colinux
Via    1.0 colinux (squid/3.1.18)
Connection    close

my squid.conf refresh pattern rules are as follows
refresh_pattern ^http:    1440  30% 10080 ignore-must-revalidate
refresh_pattern ^ftp:   1440  20% 10080
refresh_pattern ^gopher:  1440  0%  1440
refresh_pattern -i (/cgi-bin/|\?) 0 0%  0
refresh_pattern .   0 20% 4320






--
Regards,

Parashuram
Systems Engineer
Accord Software&  systems Pvt Ltd
Division : GNSS&  Systems
www.accord-soft.com
Mobile   : +91-81471 93134
Extn     : 227


##############################################################################################################################################
The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination, copying or other use of, or taking any action in reliance upon, this information by
persons or entities other than the intended recipient is prohibited. If you have received this in error, please contact the sender and delete
the material from your system. Accord Software & Systems Pvt. Ltd. (ACCORD) is not responsible for any changes made to the material other
than those made by ACCORD or for the effect of the changes on the meaning of the material.
##############################################################################################################################################


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux