亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: squid如何設(shè)置不做緩存,只做使用規(guī)則呢? [打印本頁]

作者: 5639863    時間: 2007-10-17 14:01
標(biāo)題: squid如何設(shè)置不做緩存,只做使用規(guī)則呢?
如題,我只想使用SQUID的強(qiáng)大規(guī)則,不需要做緩存,怎么設(shè)置SQUID???
作者: luo118    時間: 2007-10-17 14:16
加上 no_cache 就可以
你還可以,指邊個網(wǎng)站做cache 邊個不做cache
作者: 5639863    時間: 2007-10-17 21:16
我得回去看一下規(guī)則咋寫
作者: 5639863    時間: 2007-10-18 22:50
no_cache應(yīng)該怎么寫啊,看了半天我也沒整明白,還請賜教!
作者: hongzjx    時間: 2007-10-19 14:51
always_direct

refresh_pattern

作者: 5639863    時間: 2007-10-21 22:26
我加了一句:
acl HTTP proto HTTP
always_direct  allow HTTP
不知道對不?那如何知道現(xiàn)在的SQUID不緩存了呢?
謝謝
作者: luo118    時間: 2007-10-23 13:06
標(biāo)題: 回復(fù) #6 5639863 的帖子
對,
這是把http的請求協(xié)議,直接轉(zhuǎn)發(fā)到原服務(wù)器,
acl HTTP proto HTTP
always_direct  allow HTTP
作者: 5639863    時間: 2007-10-27 15:26
我今天Squid網(wǎng)站上看到這條:
Can I make Squid proxy only, without caching anything?
Sure, there are few things you can do.

You can use the ncache access list to make Squid never cache any response:


acl all src 0.0.0.0/0
cache deny all
With Squid-2.4 and later you can also use the "null" storage module to avoid having a cache directory:


cache_dir null /tmp




歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2