Not a developer? Go to MovableType.com

News

Taking full advantage of template module caching

By Byrne Reese
Posted October 31, 2008, in Tips & Tricks.

Template_Module_Caching.jpgMovable Type offers a number of features to help administrators increase the performance of their system. Chief among them is template module caching. As the name may imply, any template module in Movable Type can have caching enabled, which causes Movable Type to store the output and HTML from the module in Movable Type's database for later use. That way, if a template module is used frequently, then Movable Type will minimize the number of times it goes to the database to generate its content.

To help our users take complete advantage of this important feature introduced in Movable Type 4.2, we have assembled the "Ultimate Guide to Template Module Caching." It comes complete with:

  • insight into why this feature can have such profound performance benefits
  • sample code
  • tips on what to look for when decided which modules to cache
  • a detailed explanation of how this feature can be used in conjunction with server side includes
  • information you may not have known about, like the ability to override the global cache context and create more granular and context sensitive module caches
Back

3 Comments

HosseinNL

HosseinNL on April 3, 2012, 5:26 a.m. Reply

Hi Byrne Reese

I found your article, very interesting

Recently I have a problem with my website,

I lost configurations setting codes on my website and I don,t know how to fix it.

My website www.khorsand.org has been running for more than 7 years

In March 1, 2012 we faced with sever problem and my website has lost some DATA s and some clicking not working anymore as were working until March 1, 2012 Unfortunately my Host has lost all back up as well !!

and because my website is not in English language ( It is in Persain) the Suppot-team could not able to fix it

I have found a back up of 2009 on my PC But

I do not want to loss any more data on my original website

therefore

I have ordered a New Domain and account to see how this back up of 2009 look like in this New account then replacing damaged file of old website with correct file from back up 2009 ,

I have upload this back up in to Cpanel of the New account using FTP in Cpanel

What else should be done , so that this New account should come up with the similar design and setting to the Original website?

Regards Hossein NL

Ben10

Ben10 on October 23, 2012, 6:41 p.m. Reply

the cache option is great, my MT goes so, so fast, thnak you much!

Richard

Richard on February 12, 2013, 4:26 p.m. Reply

Does anyone know the additional memory consumed by the cache system?

Byrne Reese

Byrne Reese was previously the Product Manager of Movable Type at Six Apart, where he had also held positions as the Manager of Platform Technology and Product Manager for TypePad. Byrne is a huge supporter of the Movable Type user and developer community. He dedicates much of his time to promoting and educating people about Movable Type as well as building the tools and plugins for Movable Type that are showcased on Majordojo. He contributes regularly to open source; and he is an advocate for open protocols and standards like Atom and OpenID.

Website: http://profile.typekey.com/byrnereese