| JotCache Help | ![]() | ![]() |
Page 1 of 3 JotCache UsagePurposeJotCache is advanced solution for page caching in Joomla 1.5 search framework. JotCache consists from JotCache Plugin and optionally (but recommended) from JotCache Component. JotCache Plugin is extended replacement of standart System-Cache plugin with following enhancements :
Module positions excluded
from page caching In the Joomla 1.5 CMS framework each module is placed to template's specific position (see Administrator > Extensions > Module Manager / column Position. Graphical presentation see Administrator > Extensions > Template Manager, click on used template name and click toolbar button Preview). In the template each module position is tagged with tag : <jdoc:include type="modules" name="xxx" ... /> where xxx is position name. To exclude specific module position from page caching here it is necessary to mark this position in template source (index.php) with HTML comment tags - see example : <td> where name_of_position - name of position as it is used
in jdoc tag Mark in the template only module positions which you like to steady refresh. When page is cached then mark tags are stored with cached content. During cached content recall the marked positions are replaced with newest modules content. Fast check of cache operation in front-end For proper marking of cached content you need to have installed not only plugin but also the JotCache component. In the JotCache Plugin parameters it is necessary to set Mark Caching to Yes :
and in the JotCache component click on Set Mark button :
With Set Mark button here it is sent marking cookie to your browser and then you can see marked page title (with three @@@) when page is comming from cache :
and steady refreshed module positions are marked with dashed red outline :
Cache management With JotCache Component you have possibility to look into one-to-one relation between cached page file (with hashed name e.g. 8d2146c2a4b1b3c9d65bac698c9115a5.php) and its original resource (component name, view, content id). This one-to-one relation is stored in database and when it is necessary to synchronize page cache in the file system with database overview simply press Refresh button on component's toolbar. With filtering and checking here is easy to select cached page contents for delete operation :
| |||||
| Last Updated on Tuesday, 13 July 2010 14:42 |






