On The Web by Ircmaxell
GNU/GPL PageCache Joomla! APC php5 Lighttpd! Redhat
Home arrow Articles arrow Page Cache Version 1.0.7 Released!
Friday, 25 July 2008
 
 
Featured Site
Main Menu
Home
Articles
Services
Portfolio
Version Information
Bug Tracker
F.A.Q.
Downloads
Forum
Contact Us
Text Link Ads
Latest Version
Feed Icon Page Cache 1.0.8 stable
Release Date: 2007-06-11
Donate!
Login
Syndicate
Page Cache Version 1.0.7 Released!
User Rating: / 0
PoorBest 
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-->

Trackback(0)
Comments (8)Add Comment
...
written by ircmaxell, May 12, 2007
Alright, I've modified the article to be a little more clear. If you are still having problems, please use the forums.
...
written by charlynancy, May 12, 2007
Excuse me, i can't write the code, can you give us the completly synthax with an example
...
written by charlynancy, May 12, 2007
Before :
After :


is it right?
example
written by charlynancy, May 12, 2007
Hi, thank for your genious component
I'm not sur of the the exactly synthaxe
Example :
Before in my template

After is it?



or

( 'left', -2 )

or

Or what else?
joomla modle style
written by santosh, May 10, 2007
hi mic
What is ment with "and the number is the style." ??


refer to the joomla templete tutorial
http://dev.joomla.org/content/view/1136/79/1/6/

they have clearly documented everything you need to know about a templete
editing the template
written by abu bakar, May 10, 2007
i just wandering about editing my template with your and
.. id ont know where to place it and which one.. i have about 10 mosLoadModule on my template?.. can you explain very details how do that.
The,,,
written by ircmaxell, May 09, 2007
The number is the number that is also in mosLoadModules('position',number). The number is optional in both. If you do not put the number (but leave the :: in), it will default to style 0. Make sure it's the same number that's in the mosLoadModules call (or 0 if there is no number)
Style?
written by mic, May 09, 2007
What is ment with "and the number is the style." ??

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley

security code
Write the displayed characters


busy
Last Updated ( Saturday, 12 May 2007 )
 
< Prev   Next >
Savings - Car Insurance - Mortgage - Credit Card Consolidation
 
Top! Top!
Generated in 0.36589694023132 Seconds