<?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>Blog by Andreas Glaser &#187; Modules</title>
	<atom:link href="http://www.andreas-glaser.com/tag/modules/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andreas-glaser.com</link>
	<description>Development, Technology and such...</description>
	<lastBuildDate>Wed, 18 May 2011 23:16:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Apache2 &#8211; Perfect mod_expires configuration</title>
		<link>http://www.andreas-glaser.com/2009/12/14/apache2-perfect-mod_expires-configuration/</link>
		<comments>http://www.andreas-glaser.com/2009/12/14/apache2-perfect-mod_expires-configuration/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 13:37:41 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[Apache2]]></category>
		<category><![CDATA[Modules]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=522</guid>
		<description><![CDATA[Well, &#8220;perfect&#8221; might be a little exaggerated although I consider this a good configuration at the moment. You can put this globally into your httpd.conf or separately in every vhost configuration file you need it. ?View Code BASH1 2 3 4 5 6 7 8 9 10 &#160; ExpiresActive On ExpiresByType text/css &#34;access plus 1 [...]]]></description>
			<content:encoded><![CDATA[<p>Well, &#8220;perfect&#8221; might be a little exaggerated although I consider this a good configuration at the moment.<br />
You can put this globally into your httpd.conf or separately in every vhost configuration file you need it.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p522code3'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p5223"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code" id="p522code3"><pre class="bash" style="font-family:monospace;">&nbsp;
        ExpiresActive On
        ExpiresByType text<span style="color: #000000; font-weight: bold;">/</span>css <span style="color: #ff0000;">&quot;access plus 1 month&quot;</span>
        ExpiresByType text<span style="color: #000000; font-weight: bold;">/</span>javascript <span style="color: #ff0000;">&quot;access plus 1 month&quot;</span>
        ExpiresByType application<span style="color: #000000; font-weight: bold;">/</span>x-javascript <span style="color: #ff0000;">&quot;access plus 1 month&quot;</span>
        ExpiresByType application<span style="color: #000000; font-weight: bold;">/</span>javascript <span style="color: #ff0000;">&quot;access plus 1 month&quot;</span>
        ExpiresByType image<span style="color: #000000; font-weight: bold;">/</span>png <span style="color: #ff0000;">&quot;access plus 1 year&quot;</span>
        ExpiresByType image<span style="color: #000000; font-weight: bold;">/</span>jpeg <span style="color: #ff0000;">&quot;access plus 1 year&quot;</span>
        ExpiresByType image<span style="color: #000000; font-weight: bold;">/</span>gif <span style="color: #ff0000;">&quot;access plus 1 year&quot;</span>
        ExpiresByType image<span style="color: #000000; font-weight: bold;">/</span>x-icon <span style="color: #ff0000;">&quot;access plus 1 month&quot;</span></pre></td></tr></table></div>

<p>Make sure you versionize your JavaScript/CSS to be able to force an update, in case you change them.<br />
<strong>Example:</strong></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p522code4'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p5224"><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code" id="p522code4"><pre class="html" style="font-family:monospace;">&nbsp;
    My Example
&nbsp;
Some Content
&nbsp;
    &lt;script src=&quot;javascript.js?version=1&quot; type=&quot;text/javascript&quot;&gt;&lt;!--mce:0--&gt;&lt;/script&gt;</pre></td></tr></table></div>

<p>You should also give newly updated pictures new names!</p>
<p>Over and out,<br />
JaZz</p>
<fb:like href='http://www.andreas-glaser.com/2009/12/14/apache2-perfect-mod_expires-configuration/' send='' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2009/12/14/apache2-perfect-mod_expires-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

