- Babble On - http://mt4.juneeonline.com/babble-on/ -

Template Module Caching

Posted By babylon On July 12, 2008 11:44 AM In MT Performance | 1 Comment

My [1] 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 [2] 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


Article printed from Babble On: http://mt4.juneeonline.com/babble-on/

URL to article: http://mt4.juneeonline.com/babble-on/archives/2008/07/template-module-caching.php

URLs in this post:
[1] http://www.bestoday.com.au/
[2] http://www.movabletype.org/documentation/mt42/module-caching.html

Copyright © July 12, 2008. All rights reserved.