LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 694|回复: 1

优化squid的一些讨论

[复制链接]
发表于 2003-10-13 15:28:36 | 显示全部楼层 |阅读模式
看到一篇文章,说在squid。conf中加入下列语句
refresh_pattern -i .html 1440 90% 129600 reload-into-ims
refresh_pattern -i .shtml 1440 90% 129600 reload-into-ims
refresh_pattern -i .hml 1440 90% 129600 reload-into-ims
refresh_pattern -i .gif 1440 90% 129600 reload-into-ims
refresh_pattern -i .swf 1440 90% 129600 reload-into-ims
refresh_pattern -i .jpg 1440 90% 129600 reload-into-ims
refresh_pattern -i .png 1440 90% 129600 reload-into-ims
refresh_pattern -i .bmp 1440 90% 129600 reload-into-ims
refresh_pattern -i .js 1440 90% 129600 reload-into-ims

请解释一下每一项什么意思
 楼主| 发表于 2003-10-13 15:35:05 | 显示全部楼层
linuxaid上的文章解释说:

这几句其实是强行控制对象的超时时间,这违反了http协议的精神,但是在带宽较窄的场合,可以提高明显系统相应时间。

我想问,这些设定会不会产生不良后果
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表