-
squid 动态页面
“; } long last_modified = last_modified_time.getTime(); response.setDateHeader(“Last-Modified”,last_modified); —————————————————————————————- 察看cache命中率等信息,可以用如下命令: /data/squid/bin/squidclient -p 80 cache_object://localhost/info 其中的如下信息比较重要: Cache information for squid: Request Hit Ratios: 5min: 41.5%, 60min: 40.1% Byte Hit Ratios: 5min: 52.3%, 60min: 50.8% Request Memory Hit Ratios: 5min: 27.7%, 60min: 30.7% Request Disk Hit Ratios: 5min: 38.3%, 60min: 39.2% Storage Swap size: 1886720 KB Storage Mem size: 39452 KB Mean Object Size: 50.85 KB Requests given to unlinkd: 1685]]>
-
windows下简单配置squid反向代理服务器
>>指向http://192.168.1.8:7001(web服务器地址) 如果把#http_access deny all打开把http_access allow all注释掉,你的访问就会被拒绝 你需要配置一下:找到下面两行 #acl our_networks src 192.168.1.0/24 192.168.2.0/24 #http_access allow our_networks 打开注释,修改你的内网ip(段)可以设为192.168.1.0/24一 ...