Hi, All,
I tired suggested refresh pattern, still i was getting TCP_HIT/MEM_HIT. It's not getting refreshed after 10 minutes.
Conf
refresh_pattern -i ^http://[a-z\-\_\.A-Z0-9]+\.wsj\.(net|net|com|edu)/ 10 200% 10 override-expire override-lastmod reload-into-ims ignore-reload
Logs
Wed Dec 30 21:31:44 2015.976 1915 172.19.131.180 TCP_MISS/200 619 GET http://s.wsj.net/_javascript_/pushdownAd.js - DIRECT/184.86.240.217 application/x-_javascript_
Wed Dec 30 21:31:44 2015.976 1915 172.19.131.180 TCP_MISS/200 667 GET http://s.wsj.net/static_html_files/pushdownAd.css - DIRECT/184.86.240.217 text/css
Wed Dec 30 21:52:38 2015.577 0 172.19.131.180 TCP_MEM_HIT/200 676 GET http://s.wsj.net/static_html_files/pushdownAd.css - NONE/- text/css
Wed Dec 30 21:52:38 2015.577 0 172.19.131.180 TCP_MEM_HIT/200 628 GET http://s.wsj.net/_javascript_/pushdownAd.js - NONE/- application/x-_javascript_
I have gone through the packet captures. It looks like expiry time is greater than min time of refresh_pattern. But i have used override options. Here I am confused whether precedence goes to expiry time or min time .I am not clear on how it works.
Can you guide me on how it works and why it is not getting refreshed ? I need experts guidance here
pushdownAd.css repsonse header timings
Last-Modified: Mon, 14 Dec 2015 04:37:00 GMT\r\n
Expires: Thu, 31 Dec 2015 01:10:17 GMT\r\n
Date: Wed, 30 Dec 2015 21:31:46 GMT\r\n
Regards,
Saravanan N
On Mon, Dec 28, 2015 at 6:13 AM, Matus UHLAR - fantomas <uhlar@xxxxxxxxxxx> wrote:
On 28.12.15 06:50, Eliezer Croitoru wrote:
And you can tweak it a bit to something like:
refresh_pattern -i ^http://[a-z\-\_\.A-Z0-9]+\.wsj\.(net|net|com|edu)/ 10 200% 10 \
override-expire reload-into-ims
- I would avoid the underscore. underscore is not valid character for an
internet hostname
- dash at the begin or end of [] will eliminate the need for an underscore
[a-zA-Z0-9.-]+ should do it.
--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"To Boot or not to Boot, that's the question." [WD1270 Caviar]
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users