Search squid archive

Almost objects don't cached (reverse proxy squid 3.1)

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

 



Hello Squid Users.~

My squid.conf below.

---------------------------------------------------------------------------------------------------------------------------
http_port 80 vhost
https_port 443 accel cert=/etc/squid/a.crt  key=/etc/squid/a.pem
cafile=/etc/squid/a.ca protocol=https

cache_peer  1.1.1.1 parent  80 0 no-query originserver name=my_parent
no-digest no-netdb-exchange
acl s1_domain dstdomain  img.test.com
http_access allow s1_domain
cache_peer_domain my_parent img.test.com
http_access deny all

# We recommend you to use at least the following line.
hierarchy_stoplist cgi-bin ?

# Uncomment and adjust the following to add a disk cache directory.
cache_dir ufs /cache 36000 16 256

# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               1440      50%     2880  reload-into-ims

---------------------------------------------------------------------------------------------------------------------------

I make script like this : curl -O/dev/null http://img.TEST.com/aaaaaaaa.gif
But almost object do not store in cache_dir and that connect the
Origin server directly
I ran the script twice , same result. ( some object was cached )
I want to store all object in my disk and prevent to code (304 or 200)
at Origin server

And I have wonder what is mean about "TCP_REFRESH_UNMODIFIED"

How can I do ?


Thank you for reading this :-)

PS.

In STORE.LOG. almost of object was RELEASE.
-------------------------------------------------------
1279163784.168 RELEASE -1 FFFFFFFF FB25B6CB108A5507EB97BBF1A1846625
304 1279131351 1279113212        -1 image/gif -1/0 GET
http://img.TEST.COM/front_2010/images/plan/plan_s3.gif
1279163784.548 RELEASE -1 FFFFFFFF DF9A50CB378A3E1AB48A0C6900DC7017
304 1279131352 1279113213        -1 image/gif -1/0 GET
http://img.TEST.COM/front_2010/images/search/outoLayer01_tit.gif
1279163784.603 RELEASE -1 FFFFFFFF 15EB239DB8F1D5A665D9AA7C3F680823
304 1279131352 1279113206        -1 image/gif -1/0 GET
http://img.TEST.COM/front_2010/images/common/logo.gif
1279163784.661 RELEASE -1 FFFFFFFF 617C4C87489B2E89F51E54BE0FE1DF63
304 1279131352 1279113213        -1 image/gif -1/0 GET
http://img.TEST.COM/front_2010/images/search/outoLayer02_tit.gif
1279163784.825 RELEASE -1 FFFFFFFF BA416AF9E47126D86778FB0D0AE17360
304 1279131352 1279113206        -1 image/gif -1/0 GET
http://img.TEST.COM/front_2010/images/common/layout/copyright.gif
1279163784.935 RELEASE -1 FFFFFFFF B9F378103145A56C3ADFB70121235832
304 1279131352 1279113206        -1 image/gif -1/0 GET
http://img.TEST.COM/front_2010/images/common/layout/multiSearch.gif
1279163784.991 RELEASE -1 FFFFFFFF 1751939FD3D31BE9F77D3FE7EB807353
304 1279131352 1279113206        -1 image/gif -1/0 GET
http://img.TEST.COM/front_2010/images/common/layout/signkorea.gif
1279163785.152 RELEASE -1 FFFFFFFF 2358F9ADB5CFD9D975E2511774039069
304 1279131352 1279113206        -1 image/gif -1/0 GET
http://img.TEST.COM/front_2010/images/common/layout/ftc.gif
1279163785.207 RELEASE -1 FFFFFFFF A0CA9827452E4AA6FF4C8C0A44FCC812
304 1279131353 1279113206        -1 image/png -1/0 GET
http://img.TEST.COM/front_2010/images/common/time_bg.png
1279163785.264 RELEASE -1 FFFFFFFF 40C5A8E250058F82B0857035872703ED
304 1279131353 1279113206        -1 image/gif -1/0 GET
http://img.TEST.COM/front_2010/images/common/layout/ksnet.gif
1279163785.319 RELEASE -1 FFFFFFFF C65747391372B5D8A003F30C3123CCBB
304 1279131353 1279113206        -1 image/gif -1/0 GET
http://img.TEST.COM/front_2010/images/common/layout/ksnet_txt.gif
----------------------------------------------------------------


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

  Powered by Linux