Squid
Добавлено: 09 фев 2006, 18:59
Трабла заключается в том что кальмар отказывается кешировать jar файлы (остальное нормально кеширует). Подскажите что нужно поправить.
morfay писал(а):рПЮАКЮ ГЮЙКЧВЮЕРЯЪ Б РНЛ ВРН ЙЮКЭЛЮП НРЙЮГШБЮЕРЯЪ ЙЕЬХПНБЮРЭ jar ТЮИКШ (НЯРЮКЭМНЕ МНПЛЮКЭМН ЙЕЬХПСЕР). оНДЯЙЮФХРЕ ВРН МСФМН ОНОПЮБХРЭ.
Код: Выделить всё
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
Код: Выделить всё
http_port 3128
cache_mem 100 MB
maximum_object_size 30720 KB
cache_dir ufs c:/squid/var/cache 500 16 256
ftp_user anonymous@atlas.corp
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
quick_abort_pct 1
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl all src 0.0.0.0/0.0.0.0
acl allowed_hosts src 192.168.101.0/255.255.255.0
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access deny manager all
http_access allow allowed_hosts
http_access deny all
http_reply_access allow all
icp_access allow allowed_hosts
icp_access deny all
miss_access allow allowed_hosts
miss_access deny all
cache_mgr support@atlas.corp
cache_effective_user nobody
cache_effective_group nogroup
visible_hostname atlas.corp
forwarded_for on
client_db on
coredump_dir c:/squid/var/cache
Код: Выделить всё
1139564027.125 RELEASE -1 FFFFFFFF B3212E6B0934C8F678B19FEF3568EA08 200 1139563936 -1 -1 application/java-archive 65631/65631 GET http://download.getjar.com/downloads/web/pub/3540/MMDP-7600.jar
1139564073.410 RELEASE -1 FFFFFFFF CF955D86A37DC94A0D6854351EDFFA94 200 1139563973 -1 -1 application/java-archive 65631/65631 GET http://download.getjar.com/downloads/web/pub/3540/MMDP-7600.jar
Код: Выделить всё
1139564027.125 10787 192.168.101.44 TCP_MISS/200 65928 GET http://download.getjar.com/downloads/web/pub/3540/MMDP-7600.jar - DIRECT/72.19.194.67 application/java-archive
1139564073.410 17687 192.168.101.44 TCP_MISS/200 65928 GET http://download.getjar.com/downloads/web/pub/3540/MMDP-7600.jar - DIRECT/72.19.194.67 application/java-archive
Код: Выделить всё
HEAD http://download.getjar.com/downloads/web/pub/3540/MMDP-7600.jar
200 OK
Connection: close
Date: Fri, 10 Feb 2006 11:05:11 GMT
Server: Apache/1.3.33 (Unix) PHP/4.4.0 mod_ssl/2.8.23 OpenSSL/0.9.7a FrontPage/5.0.2.2635
Content-Length: 65631
Content-Type: application/java-archive
Client-Date: Fri, 10 Feb 2006 11:06:37 GMT
Client-Peer: 72.19.194.67:80
Client-Response-Num: 1
X-Cache: MISS from atlas.corp