<?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>libcoffee.net: Rails refreshed</title>
    <link>http://www.libcoffee.net/articles/2007/10/13/rails-refreshed</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>:: Just another Typo weblog ::</description>
    <item>
      <title>Rails refreshed</title>
      <description>&lt;p&gt;I&amp;#8217;ve noticed that my &lt;a href="http://www.typosphere.org/"&gt;Typo&lt;/a&gt; blog has been slowing to a crawl these days, simply publishing a post or changing sidebar settings for the template took almost forever; Kexin noticed it when he was testing out comments too. A quick investigation turned out Typo has been hoarding a &lt;strong&gt;huge&lt;/strong&gt; (and I mean almost a gigabyte &lt;em&gt;huge&lt;/em&gt;) cache of every single &lt;span class="caps"&gt;GET&lt;/span&gt;/POST to the site, with 99.9% being things like this: (URLs censored to protect the guilty)&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;/var/www/typo/tmp/cache/META/META/ACTION_PARAM/
www.libcoffee.net/articles/permalink/blog_name=some_random_drug&amp;amp;day=27
&amp;amp;excerpt=http./www.xyz.com/pharmacy_stuff
/var/www/typo/tmp/cache/META/META/ACTION_PARAM/
www.libcoffee.net/articles/permalink/blog_name=another_random_drug&amp;amp;day=27
&amp;amp;excerpt=http./www.xyz.com/drugs_and_more_drugs&amp;amp;month=06
&amp;amp;title=untitled#trackbacks
...&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;Repeated ad naseum for Viagra, kitchen floor tiles and various unspeakables&amp;#8230; no wonder Typo seemed so slow. Anyway, a quick purge of /tmp/cache seems to do the trick. Rails is fast now! (Sort of.) :P&lt;/p&gt;</description>
      <pubDate>Sat, 13 Oct 2007 14:00:39 +1000</pubDate>
      <guid isPermaLink="false">urn:uuid:7bfdf7b8-d6a2-47bf-a18f-f14daa48abfc</guid>
      <author>zanglang@gmail.com (Jerry)</author>
      <link>http://www.libcoffee.net/articles/2007/10/13/rails-refreshed</link>
      <category>Rants</category>
    </item>
  </channel>
</rss>
