- 主题:谁做过kbs web的squid代理?
不过连js文件都MISS了啊
【 在 FreeWizard ( ) 的大作中提到: 】
: 配置里是不是有cache deny QUERY?
--
FROM 61.135.152.*
【 在 JulyClyde (七月) 的大作中提到: 】
: 不过连js文件都MISS了啊
TCP_REFRESH_HIT/304
f5吧
--
FROM 124.42.96.97
默认acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
不就都没存吗
【 在 JulyClyde (七月) 的大作中提到: 】
: 呵呵,这个好像默认都有吧?
--
FROM 124.42.96.97
其实KBS没用用JS动态加载页面,
都是静态的JS产生的页面
--
修改:Dog FROM 222.66.175.*
FROM 222.66.175.*
和F5有啥关系啊?
【 在 FreeWizard ( ) 的大作中提到: 】
: TCP_REFRESH_HIT/304
: f5吧
--
修改:JulyClyde FROM 61.135.152.*
FROM 61.135.152.*
location.reload刷新会刷内嵌元素,就有这个按f5的效果
他这个貌似就是刷foot.php的时候造成的。
另外我不知道他有没有配mod_expires,如果什么都是默认那静态文件还是一样吃屎
【 在 FreeWizard ( ) 的大作中提到: 】
: TCP_REFRESH_HIT/304
: f5吧
--
FROM 128.12.150.*
不是有refresh_pattern吗
【 在 atppp (Big Mouse) 的大作中提到: 】
: location.reload刷新会刷内嵌元素,就有这个按f5的效果
: 他这个貌似就是刷foot.php的时候造成的。
: 另外我不知道他有没有配mod_expires,如果什么都是默认那静态文件还是一样吃屎
: ...................
--
FROM 61.135.152.*
mod_expire需要下什么软件包吗,或者是做什么配置?
# apt-cache search squid |grep squid
biosquid - utilities for biological sequence analysis
biosquid-dev - headers and static library for biological sequence analysis
sarg - squid analysis report generator
squid - Internet Object Cache (WWW proxy cache)
squid-cgi - Squid cache manager CGI program
squid-common - Internet Object Cache (WWW proxy cache) - common file
squid-prefetch - Simple page-prefetch for Squid web proxy
squid3 - A full featured Web Proxy cache (HTTP proxy)
squid3-cgi - A full featured Web Proxy cache (HTTP proxy) - control CGI
squid3-client - A full featured Web Proxy cache (HTTP proxy) - control utility
squid3-common - A full featured Web Proxy cache (HTTP proxy) - common files
squidclient - Command line URL extractor that talks to (a) squid
squidguard - filter, redirector and access controller plug for Squid
squidtaild - Squid log monitoring program
squidview - monitors and analyses squid access.log files
【 在 atppp (Big Mouse) 的大作中提到: 】
: location.reload刷新会刷内嵌元素,就有这个按f5的效果
: 他这个貌似就是刷foot.php的时候造成的。
: 另外我不知道他有没有配mod_expires,如果什么都是默认那静态文件还是一样吃屎
: ...................
--
FROM 61.167.60.*
你说的是squid-cgi这个软件包吗?
我安装之后,修改/etc/squid/cachemgr.conf,添加
localhost:80
刷新之后还是这个问题:
.... 8 61.167.60.30 TCP_MISS/304 321 GET http:xxxxxx
【 在 JulyClyde (七月) 的大作中提到: 】
: 用squid的cachemgr.cgi试试吧
--
FROM 61.167.60.*
恩,我的文件是这样的,此外我修改如下:
acl valid_dst dstdomain .myserver.com
http_access allow valid_dst
http_port 3128 vhost vport
cache_peer 127.0.0.1 parent 80 0 originserver default
【 在 FreeWizard ( ) 的大作中提到: 】
: 默认acl QUERY urlpath_regex cgi-bin \?
: cache deny QUERY
: 不就都没存吗
我看了这两句前面的注释:
# TAG: cache
# A list of ACL elements which, if matched, cause the request to
# not be satisfied from the cache and the reply to not be cached.
# In other words, use this to force certain objects to never be cached.
#
# You must use the word 'DENY' to indicate the ACL names which should
# NOT be cached.
#
# Default is to allow all to be cached
#We recommend you to use the following two lines.
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
这样说的话是不是含有cgi-bin的都不缓存,其他的都缓存?
: ...................
--
修改:luckwithme FROM 61.167.60.*
FROM 61.167.60.*