The Joomla core caching options already allow for decent caching for most websites. However, there may be times when you need to have more control over the caching of your pages and modules. Some Joomla extensions do not work very nice, or fail to function at all when caching is activated. An example is Hikashop, where the checkout function does not work correctly if caching is activated. This could force you to disable caching completely, leading to longer pageloads.
This is where JotCache comes in very handy. JotCache is a non-commercial plugin that is very flexible. It allows you full control over the pages, modules and components that are cached. One very important issue to keep in mind: JotCache is a replacement for the Joomla core System - Page Cache plugin, so make sure to disable this one before you install JotCache!
Plugin parameters in JotCache
When you install the extension, your settings are split between the JotCache plugin and the JotCache component. First enable the Jotcache plugin (make sure the plugin is the very last in order of the system plugins), and set the basic options, mostly regarding the cleaning interval:
Mostly defaults should be fine, maybe you want to check the cleaning interval. Then in the Cache Operation Modes, you have some very nice options to include or exclude certain browsers from caching, or even set a specific cache for that specific browser. Usually you do not need this, but any issues with specific browsers can be overcome here:
Then thirdly we have the Cache Storage tab. Again: usually you do not need this. The default setting for Cache Storage is File. However, if your host supports memcache caching, you can activate it here, often seriously speeding up your site even more. Make sure you set the parameters correctly immediately:
Now that the basic parameters have been set, go to the component settings for the rest of the configuration.
Then you can further finetune your caching options through the Jotcache component parameters. Some of the options that you find here are:
- Include or exclude specific pages of your site
- Exclude module positions in your template
- Exclude Components (including setting specific views)
- Finetuned cache clearing of different pages
Once you have created the initial settings you can view the currently cached pages in the Overview. Here you can see the currently cached pages, and you can also clear these either individually or all together. If you have performed many changes in your articles, you can also use the Recache button to refresh the cached pages.
Integration with JCH-Optimize, Scriptmerge and RokBooster
A recent addition to JotCache is an integration with the most popular JS / CSS optimizations plugins. Within the JotCache plugin, in the Cache Operation Modes tab, you can now indicate your chosen optimization plugin. Currently JCH-Optimize, Scriptmerge and RokBooster are supported. Jbetolo is not, as it was found to be less stable by the developer:
This component is much recommended for your caching problems, though possibly a bit complex for inexperienced users.
Just one more tip: you can include cleaning Jotcache cache in Nonumber's Cache Cleaner (Pro version only).