[proxy] log unmodified (squid3)

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

[proxy] log unmodified (squid3)

Postby sipelaut » 28 Mar 2013, 11:37

ada yang tau ngak maksud dari log ini
kok unmodified

Code: Select all

1364444641.731    343 192.168.11.3 TCP_REFRESH_UNMODIFIED/304 354 GET http://openx.detik.com/delivery/fl.js - DIRECT/203.190.242.71 -
1364444641.762    373 192.168.11.3 TCP_REFRESH_UNMODIFIED/304 354 GET http://openx.detik.com/images/1x1.gif - DIRECT/203.190.241.40 -
1364444641.764    374 192.168.11.3 TCP_REFRESH_UNMODIFIED/304 354 GET http://www.detik.com/urchin.js - DIRECT/203.190.241.43 -
1364444641.777    387 192.168.11.3 TCP_REFRESH_UNMODIFIED/304 396 GET http://detik.net.id/detik/libraries/jqueryplugins/dc-popup/1.0.0/dc.js - DIRECT/203.190.242.68 -
1364444641.790    401 192.168.11.3 TCP_REFRESH_UNMODIFIED/304 396 GET http://detik.net.id/detik/libraries/jquery/1.8.1/jquery.min.js - DIRECT/203.190.241.166 -
User avatar
sta
Posts: 2003
Joined: 27 Apr 2010, 09:49
Contact:

Re: [proxy] log unmodified (squid3)

Postby sta » 28 Mar 2013, 11:45

kagak ngarti om, coba aja copas
TCP_REFRESH_UNMODIFIED/304 354 GET
di google
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [proxy] log unmodified (squid3)

Postby q_p » 28 Mar 2013, 13:19

Kayaknya, di server origin sudah ada konten yang lebih baru dari pada yang tersimpan di proxy, tapi proxy tdk berani ambil karena ada rules di refresh_pattern yang melarang-nya. CMIIW
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: [proxy] log unmodified (squid3)

Postby sipelaut » 28 Mar 2013, 13:26

[quote=Pragola_Pati]Kayaknya, di server origin sudah ada konten yang lebih baru dari pada yang tersimpan di proxy, tapi proxy tdk berani ambil karena ada rules di refresh_pattern yang melarang-nya. CMIIW

ini refresh pattern saya masbroo
mohon dikoreksi
refresh patternnya ngak sanga2 amat
menurutku sichh biasa aja nichh, :grin:

Code: Select all

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern ^http: 720 90% 432000
refresh_pattern . 1440 90% 10080
refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 10080 90% 43200 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|mpg|swf|flv|x-flv)$ 43200 90% 432000 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.(deb|rpm|exe|ram|bin|pdf|ppt|doc|tiff)$ 10080 90% 43200 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.(zip|gz|arj|lha|lzh|tar|tgz|cab|rar)$ 10080 95% 43200 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.(php|asp|aspx|cgi|html|htm|css|js) 10080 95% 43200 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.index.(html|htm)$ 0 75% 10080
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0