<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Hits on sigtar.com</title>
		<link>https://sigtar.com/tags/hits/</link>
		<description>Recent content in Hits on sigtar.com</description>
		<generator>Hugo</generator>
		<language>en-nz</language>
		
		
		
		
			<lastBuildDate>Wed, 10 Jun 2009 00:00:00 +1200</lastBuildDate>
		
			<atom:link href="https://sigtar.com/tags/hits/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Squid - optimizing cache hits</title>
				<link>https://sigtar.com/2009/06/10/squid-optimizing-cache-hits/</link>
				<pubDate>Wed, 10 Jun 2009 00:00:00 +1200</pubDate>
				<guid>https://sigtar.com/2009/06/10/squid-optimizing-cache-hits/</guid>
				<description>&lt;p&gt;The first place to look for increasing your hit ratio is the &lt;em&gt;refresh_pattern&lt;/em&gt; parameter within the &lt;strong&gt;squid.conf&lt;/strong&gt; file.&lt;/p&gt;&#xA;&lt;p&gt;Note: the following applies to squid 3.0 and higher only&amp;hellip;.&lt;/p&gt;&#xA;&lt;p&gt;I have found a really good page here &lt;a href=&#34;http://linux.com/archive/feature/153221&#34;&gt;http://linux.com/archive/feature/153221&lt;/a&gt; that explains some good setups if you with to increase your cache hits&amp;hellip;&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 10080 90% 43200 override-expire ignore-no-cache ignore-no-store ignore-private refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$ 43200 90% 432000 override-expire ignore-no-cache ignore-no-store ignore-private refresh_pattern -i \.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff)$ 10080 90% 43200 override-expire ignore-no-cache ignore-no-store ignore-private refresh_pattern -i \.index.(html|htm)$ 0 40% 10080 refresh_pattern -i \.(html|htm|css|js)$ 1440 40% 40320 refresh_pattern . 0 40% 40320&lt;/em&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
