<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Spind.net Blog &#187; Performance</title>
	<atom:link href="http://blog.spind.net/tag/performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.spind.net</link>
	<description>Stories from the trenches of System Administration</description>
	<lastBuildDate>Mon, 19 Dec 2011 09:21:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Browser caching with SSL</title>
		<link>http://blog.spind.net/2009/03/18/browser-caching-with-ssl/</link>
		<comments>http://blog.spind.net/2009/03/18/browser-caching-with-ssl/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 10:26:44 +0000</pubDate>
		<dc:creator>hc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Caching]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[WWW]]></category>

		<guid isPermaLink="false">http://blog.spind.net/?p=114</guid>
		<description><![CDATA[I&#8217;m using several SSL-enabled sites daily, and since browsers traditionally refuse to cache anything negotiated through an SSL connection on disk, performance has a tendency to suffer. I notice this every time I visit Fogbugz, and I have to wait for my browser to load all the neat little icons they use. Fortunately, according to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using several SSL-enabled sites daily, and since browsers traditionally refuse to cache anything negotiated through an SSL connection on disk, performance has a tendency to suffer. I notice this every time I visit <a href="http://www.fogbugz.com/">Fogbugz</a>, and I have to wait for my browser to load all the neat little icons they use. Fortunately, according to <a href="http://blogs.gnome.org/jamesh/2008/05/01/firefox-ssl/">James Henstridge</a>, it&#8217;s possible to make Firefox 3+ cache these files now.</p>
<p>Basically he suggests to go to <tt>about:config</tt> and change the setting <tt>browser.cache.disk_cache_ssl</tt> to <tt>true</tt>. There have been issues prior to Firefox 2, but these should be fixed in Firefox 3.</p>
<p>If you&#8217;re running a webserver, adding the header value <tt>Cache-Control: Public</tt> will allow most browsers to automatically cache server files. If you&#8217;re paranoid, you should only add this header to scripts, images and stylesheets. Here is an example for Apache that allows browsers to cache a selected fileset for up to one week:</p>
<div class="codebox">
# Cache-control: Public activated disk-caching for HTTPS<br />
&lt;FilesMatch &#8220;\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$&#8221;&gt;<br />
    Header set Cache-Control &#8220;max-age=604800, public&#8221;<br />
&lt;/FilesMatch&gt;
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.spind.net/2009/03/18/browser-caching-with-ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

