<?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>god morgon! &#187; django</title>
	<atom:link href="http://god.morgon.nu/tag/django/feed/" rel="self" type="application/rss+xml" />
	<link>http://god.morgon.nu</link>
	<description></description>
	<lastBuildDate>Fri, 23 Oct 2009 13:35:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>staticgenerator for django with gzip support</title>
		<link>http://god.morgon.nu/2009/05/03/staticgenerator-for-django-with-gzip-support/</link>
		<comments>http://god.morgon.nu/2009/05/03/staticgenerator-for-django-with-gzip-support/#comments</comments>
		<pubDate>Sun, 03 May 2009 18:07:15 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[gzip_static]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[staticgenerator]]></category>

		<guid isPermaLink="false">http://god.morgon.nu/?p=90</guid>
		<description><![CDATA[I have written about staticgenerator before. It&#8217;s the python library with a django middleware which generates static html, xml or whatever of your dynamic site and let you serve it with for example nginx to speed up things.
One thing that always bothered me with staticgenerator is that nginx had to gzip the same html over [...]]]></description>
			<content:encoded><![CDATA[<p>I have <a href="http://god.morgon.nu/tag/staticgenerator/">written</a> about <a href="http://github.com/JaredKuolt/staticgenerator/tree/master">staticgenerator</a> before. It&#8217;s the python library with a django middleware which generates static html, xml or whatever of your dynamic site and let you serve it with for example nginx to speed up things.</p>
<p>One thing that always bothered me with staticgenerator is that nginx had to gzip the same html over and over again on requests with the <code>Accept-Encoding: gzip</code> header. Now that I <a href="http://god.morgon.nu/2009/05/02/latest-nginx-with-gzip_static-ubuntu-jaunty-jackalope-deb-package/">found love</a> with <a href="http://wiki.nginx.org/NginxHttpGzipStaticModule">gzip_static</a> it&#8217;s super easy to serve precompressed .gz files with nginx. The feature it self has been around in nginx for a while but it wasn&#8217;t untill recently it got to my attention.</p>
<p>Since I already have <a href="http://github.com/andriijas/staticgeneratormem/tree/master">one fork</a> of staticgenerator at github I choosed to fork from <a href="http://github.com/ekarulf/staticgenerator/tree/master">Erik Karulf </a>instead. I wanted his excellent changes which enables atomic file generation anyway.</p>
<p>So straight from the oven, <a href="http://github.com/andriijas/staticgenerator/tree/master">staticgenerator with atomic file generation and atomic gzip support</a>. I&#8217;ll ping <a href="http://github.com/JaredKuolt">Jared Kuolt on github</a> and hopefully he will merge mine and Erik&#8217;s changes into the main repository and makes a new release.</p>
<p>Feel free to post feedback of any kind in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://god.morgon.nu/2009/05/03/staticgenerator-for-django-with-gzip-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
