| Page Cache Version 1.0.7 Released! |
| Written by ircmaxell | |
| Wednesday, 09 May 2007 | |
|
Well, another version is here! This one adds two new features to the core. The first is that whenever the cache is cleared, it also clears the Joomla Core Cache. The second is support for loading modules into cached pages (through a special syntax). To do that, install or upgrade to Version 1.0.7, and then edit
your template file. Read more to learn how!
Find the line that loads the module position that you want loaded (looks
like <?php mosLoadModule( 'left' , 2 ); ?>)... Now RIGHT around it (just
outside of the <? and ?> brackets, add the following lines. IT IS
IMPORTANT THAT THEY LOOK EXACTLY LIKE THIS. You can change 'left' and '2', but
leave everything else exactly the way it is, or it won't work... Before (NOTE, change left to the position you want, and the number is the style. <!--CacheLoadModule-left:2:-->After (This MUST BE EXACT) <!--EndLoadModule-->That's it!!! Now all you need to do is save the template, and clear the cache. Those modules should be automatically refreshed (with very little performance loss). Here's an example... Prior to being modified (what to look for)<? mosLoadModule('right', -3); ?>After Modification <!--CacheLoadModule-right:-3:--><? mosLoadModule('right', -3); ?><!--EndLoadModule--> |
|
| Last Updated ( Saturday, 12 May 2007 ) |
| < Prev | Next > |
|---|










