Januari 12, 2013. Sekuro - This Quote from wiki.squid-cache.org because i have problem with my site because if im update content. my content not published so im read wiki squid and found this tips.
This example makes all URL's with '.html' uncachable:
http://wiki.squid-cache.org/SquidFaq/OperatingSquid?action=fullsearch&context=180&value=exclude+url&titlesearch=Titles#How_can_I_make_Squid_NOT_cache_some_servers_or_URLs.3F
From Squid-2.6, you use the cache option to specify uncachable requests and any exceptions to your cachable rules. For example, this makes all responses from origin servers in the 10.0.1.0/24 network uncachable:
acl localnet dst 10.0.1.0/24 cache deny localnet
This example makes all URL's with '.html' uncachable:
This example makes a specific URL uncachable:acl HTML url_regex .html$ cache deny HTML
This example caches nothing between the hours of 8AM to 11AM:acl XYZZY url_regex ^http://www.i.suck.com/foo.html$ cache deny XYZZY
acl Morning time 08:00-11:00 cache deny Morning
http://wiki.squid-cache.org/SquidFaq/OperatingSquid?action=fullsearch&context=180&value=exclude+url&titlesearch=Titles#How_can_I_make_Squid_NOT_cache_some_servers_or_URLs.3F
Comments
Post a Comment