[squid-users] a strange problem ( ORIGINAL_DST( can't be cache ) HIER_DIRECT ( can be cache )

johnzeng johnzeng2013 at yahoo.com
Mon Apr 11 04:34:40 UTC 2016


Hello Dear Sir :

i am trying to imporve hit ration for cache pic file now , but i found a
strange problem .

When i access the pic url via firefox browser , i found the content
can't be cache .( http_port 8080 tproxy at bridge mode )

and some helpful info is ORIGINAL_DST/171.107.188.173 at access.log

When i access the pic url via firefox wget , i found the content can be
cache .

wget -e "http_proxy=http://localhost:8081" -e robots=off
--user-agent="Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3)
Gecko/2008092416 Firefox/3.0.3" -r -p -nd -np -H --level=2 --tries=1
--limit-rate=500k
http://d.ifengimg.com/w670_h326/y2.ifengimg.com/a/2016_16/93353429f03c891_size198_w670_h326.jpg
( http_port 8081 via bridge self-host )

and some helpful info is - HIER_DIRECT/222.84.188.200


if possible , please give me some advisement , thanks .






1460347543.192 155 192.168.0.66 TCP_MISS/200 35296 GET
http://d.ifengimg.com/w670_h326/y2.ifengimg.com/a/2016_16/93353429f03c891_size198_w670_h326.jpg
- ORIGINAL_DST/171.107.188.173 image/jpeg
1460347544.209 85 192.168.0.66 TCP_MISS/200 35296 GET
http://d.ifengimg.com/w670_h326/y2.ifengimg.com/a/2016_16/93353429f03c891_size198_w670_h326.jpg
- ORIGINAL_DST/171.107.188.173 image/jpeg
1460347546.448 72 192.168.0.66 TCP_MISS/200 35296 GET
http://d.ifengimg.com/w670_h326/y2.ifengimg.com/a/2016_16/93353429f03c891_size198_w670_h326.jpg
- ORIGINAL_DST/171.107.188.173 image/jpeg
1460347547.922 402 192.168.0.66 TCP_MISS/200 35296 GET
http://d.ifengimg.com/w670_h326/y2.ifengimg.com/a/2016_16/93353429f03c891_size198_w670_h326.jpg
- ORIGINAL_DST/171.107.188.173 image/jpeg
1460347572.097 162 127.0.0.1 TCP_MISS/200 35296 GET
http://d.ifengimg.com/w670_h326/y2.ifengimg.com/a/2016_16/93353429f03c891_size198_w670_h326.jpg
- HIER_DIRECT/222.84.188.200 image/jpeg
1460347573.224 3 127.0.0.1 TCP_HIT/200 35295 GET
http://d.ifengimg.com/w670_h326/y2.ifengimg.com/a/2016_16/93353429f03c891_size198_w670_h326.jpg
- HIER_NONE/- image/jpeg
1460347578.570 3 127.0.0.1 TCP_HIT/200 35295 GET
http://d.ifengimg.com/w670_h326/y2.ifengimg.com/a/2016_16/93353429f03c891_size198_w670_h326.jpg
- HIER_NONE/- image/jpeg
1460347579.342 3 127.0.0.1 TCP_HIT/200 35295 GET
http://d.ifengimg.com/w670_h326/y2.ifengimg.com/a/2016_16/93353429f03c891_size198_w670_h326.jpg
- HIER_NONE/- image/jpeg
1460347579.950 3 127.0.0.1 TCP_HIT/200 35295 GET
http://d.ifengimg.com/w670_h326/y2.ifengimg.com/a/2016_16/93353429f03c891_size198_w670_h326.jpg
- HIER_NONE/- image/jpeg



More information about the squid-users mailing list