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

Leave a comment



Recent Entries

  • 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,...

  • Joost Action Streams Plugin

    Joost is a website where you can watch good-quality videos of music, TV shows, movies, etc, and where members can add their own or one...

  • A Love Affair With Movable Type

    I spent a few hours last night reading through my early blog entries on Toni's Corner of the World while I re-established comments on the...

  • Pagination in Movable Type

    Much has been written on the various techniques for using pagination in Movable Type. Jesse Gardner posted an entry on "PlasticMind":http://blog.plasticmind.com/cms/movable-type-pagination/ that gives a good...

OpenID accepted here Learn more about OpenID