- 主题:谁做过kbs web的squid代理?
恩,那这样的话就没有问题了,因为始终都要看到 加载的字样,而它消失的速度取决于网速和缓存吧
【 在 JulyClyde (七月) 的大作中提到: 】
: 显然不是啊
: 不过js去加载的时候,实际上也是访问了某个URL。只要这个URL符合缓存的标准,就可以缓存
--
FROM 61.167.60.*
确实很奇怪,我第二次刷新也是很多miss,明天再说吧,要走了,sigh
不过谢谢你呀 :-)
明天再看看,希望能够解决吧,呵呵
【 在 JulyClyde (七月) 的大作中提到: 】
: 全都MISS,这是第一次访问的记录吧?
: 之后再访问呢?
--
FROM 61.167.60.*
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.*
我装完之后,进入用户名密码页面,然后提交,就可以看到原来的首页,不过上面有一个Cache Manager menu for localhost:
但是点击guest或者登陆之后,这个菜单就没有了,不知道怎么查看性能
【 在 JulyClyde (七月) 的大作中提到: 】
: squid-cgi可以查看squid的状态
--
FROM 61.167.60.*
嗯,很有可能是这个问题,debian的squid默认没有几个pattern,我看看,谢谢啦
【 在 JulyClyde (七月) 的大作中提到: 】
: 不是有refresh_pattern吗
--
FROM 61.167.60.*
现在有一个问题,用squid+iptable REDIRECT做完缓存之后,用web登陆的用户的ip全是127.0.0.1了,这个。。。。
不知道有没有解决的办法?
【 在 foxban (未毕业的码农) 的大作中提到: 】
: 装个firefox和firebug,然后看一下是否提交xmlhttprequest了,就知道是不是ajax了
: 其实ajax就是个利用js里面的一个对象,在后台想服务器端异步请求数据
: 并有js直接处理服务器返回的数据输出到页面,实现页面不刷新的过程。。。
: ...................
--
FROM 61.167.60.*