<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Slash Dot Dash: Typo 'Production' Page Caching Gotcha</title>
    <link>http://www.slashdotdash.net/articles/2006/02/15/typo-production-page-caching-gotcha</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Rolling on Rails</description>
    <item>
      <title>Typo 'Production' Page Caching Gotcha</title>
      <description>&lt;p&gt;Here is a small &lt;em&gt;gotcha&lt;/em&gt; and something to watch out for when you are attempting to get the &lt;a href="http://www.typosphere.org/"&gt;Typo&lt;/a&gt; weblog software up and running.&lt;/p&gt;


	&lt;p&gt;In &lt;strong&gt;Production&lt;/strong&gt; mode the default Typo cache setup is to write out static &lt;code&gt;.html&lt;/code&gt; files for pages, categories and archive views.&lt;/p&gt;


	&lt;p&gt;This is invaluable when running a live system as Rails is not even invoked allowing Apache to respond to the request very efficiently, but quite annoying if you haven&amp;#8217;t yet realised this is happening! It certainly caught me out, even when running through &lt;code&gt;ruby script/server -e development&lt;/code&gt; the &amp;#8220;old&amp;#8221; page was being served since the &lt;code&gt;.html&lt;/code&gt; file was still present.&lt;/p&gt;


&lt;pre&gt;
ls -l public/articles/2006/02/11/another-weblog.html 
-rw-r--r--  1 www-data www-data 6901 Feb 16 00:03 public/articles/2006/02/11/another-weblog.html
&lt;/pre&gt;

	&lt;p&gt;Behind the scenes Typo will deal with refreshing the cached pages for us, but this refresh will only be triggered when changes are made.&lt;/p&gt;


	&lt;p&gt;&lt;em&gt;Hope this helps someone.&lt;/em&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 15 Feb 2006 23:52:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:f883522a2edef7cc9d4051b850af554b</guid>
      <author>ben@slashdotdash.net (Ben)</author>
      <link>http://www.slashdotdash.net/articles/2006/02/15/typo-production-page-caching-gotcha</link>
      <category>Typo</category>
      <category>Ruby on Rails</category>
      <trackback:ping>http://www.slashdotdash.net/articles/trackback/6</trackback:ping>
    </item>
    <item>
      <title>"Typo 'Production' Page Caching Gotcha" by J.Mihai</title>
      <description>&lt;p&gt;===
Hope this helps someone.
===&lt;/p&gt;


	&lt;p&gt;Well it helps, thank you :-)&lt;/p&gt;</description>
      <pubDate>Wed, 26 Dec 2007 17:11:50 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:b1b202ac-7673-4827-942b-103cf6b8c489</guid>
      <link>http://www.slashdotdash.net/articles/2006/02/15/typo-production-page-caching-gotcha#comment-323</link>
    </item>
  </channel>
</rss>
