Template Module Caching

My personal blog seemed to take forever to rebuild, 9 minutes plus for a blog with under 500 entries. Initially I thought it had something to do with the number of plugins I have installed: 49 when you include MT's preinstalled plugins.

Today I tried module caching with some widgets and module templates. Recent Comments, Category Archives and Monthly Archives are cached until a specific event occurs, like when a new entry, comment or category is created. The Banner Footer is cached for a 30-day period. There's nothing in there that changes dynamically so it's safe to set a time limit. Comments will be cached until a new comment is created.

So far, so good. The caches I've set are very basic with no PHP includes but the improvement in rebuild times is dramatic. I've shaved 4 minutes off and now can rebuild the site in just over 5 minutes.

publishing time

publishing time 2

1 Comment

I completely agree, thats pretty much what I was just telling my partner!


Leave a comment



Recent Entries

  • Send Entries Using HTML Formatted Email

    There used to be a plugin for earlier versions of Movable Type called "MT-Mail-Entry":http://www.nonplus.net/software/mt/MT-Mail-Entry.htm that allowed you to send friends a HTML-formatted email that included...

  • All Comments Not Getting Published

    I had a problem viewing some of the comments on one of my posts. I thought it must be a comment limit somewhere in the...

  • MT 4.23 Update Released

    Movable Type has released a security upgrade that fixes XSS vulnerabilities, and recommends updating to 4.23 as a mandatory. The vulnerability hasn't been exploited yet,...

  • Updated Joost Action Streams Plugin

    The plugin for [Joost Action Streams](http://mt4.juneeonline.com/babble-on/archives/2008/10/joost-action-streams-plugin.php) has been updated to include favourites. If you've previously installed this plugin I recommend deleting Joost from "Other Profiles"...

  • Adding the ShareThis Button to Mid-Century

    There's a tutorial on Rob Kenny's The Composing Stick with instructions for adding AddThis or ShareThis buttons to your posts. After receiving a request today,...

OpenID accepted here Learn more about OpenID