JotCache ver.3.0 Help

Published: 20 August 2012

Administration of JotCache Plugin

Because JotCache Plugin is advanced replacement of System - Cache it is necessary to disable system cache plugin in Administration > Extensions > Plugin Manager.
Open in Plugin Manager JotCache plugin, review parameters and set their values to required operation mode :

jotcache plg params

Explanation :

1.    Browser caching (Yes) - Web server is forcing the site visitor browser to local caching of sent content. USE with high care. Setting this parameter to 'Yes' caches all pages on user browsers with NO reloading from the site server during browser cache lifetime.

Browser Cache lifetime is set for each top URI path on component special form.
Web page is local cached in browser and it remains x minutes valid (during this time browser shall not call any more server for specific page loading but page is recalled from local cache). This behavior can be overridden pressing Reload button on the browser toolbar. Then the browser calls again server for page loading.

2.    Cache lifetime - Cached web page remains x minutes in page cache stored

3.    Compress cached content (Yes) - In cached content are whitespaces removed and then the content is compressed (gzlib)

4.    Mark caching (Yes) - Condition for displaying Set Mark in JotCache component (for presentation of front-end cache marking and backend check have to be both conditions met : Plugin Mark caching=Yes and Component Set Mark=On)

5.    Cache Auto Clean – This function is enabled by setting of positive integer x representing number of minutes. Automatic cleaning process starts initially postponed each x minutes and it performs deleting of expired cache files from the server file system. Cleaning activity is limited to max. 500 ms duration. Remaining expired cache items are then deleted during next user requests each time with max. 500 ms duration until all expired items are deleted from the cache. Short overview about the cleaning process can be gained with JotCache Clean Log parameter set to Yes.

6.    Autoclean Mode (Fast, Medium, Slow) – controlling autoclean behavior and usage of server memory for this task. Autoclean takes segment of files stored in the cache and process this segment in one internal run. In Fast mode are used only several segments and processing is fast with higher usage of internal memory. With Medium or Slow setting are these segments smaller and smaller but processing is slower. Recommended for middle sized web sites is Fast setting, for large ones you have to experiment with Medium/Slow settings.

7.    Clean Log (Yes) – Logging function switched on is allowing to have look into cache auto clean activity. Log is created in Joomla top directory 'logs' with the name ' plg_jotcache.autoclean.log.php'. Each cleaning run is represented with one log line in this format :

date             time        server IP        
2010-12-04 12:40:50 127.0.0.1  
interrupted on : (x|ffffffffffffffffffffffffffffffffffffffffffff) last deleted : y

where x – represents number of last processed segment
f..f – represents name of last processed cache file
y - represents number of deleted pages

When clean run process all items without interruption then only plain information about deleted files is stored in log. The best autoclean mode setting is with small number of interruptions taking into account reasonable internal server memory usage.

8.    Browser split – Many Joomla templates systems are using separate templates for different browser types (mostly Internet Explorer). With splitted cache storage space for different browser types you can avoid unacceptable mixing of unproper templates to site users (cached page content is not rendered when non-expired page exists in the cache). Select in the multiselect input box the browser types for which one it is necessary to have separate cache space (unselect when necessary with Ctrl+click on item). For MS Internet Explorer you can use either common 'IE' selection for all versions of this browser or specific version according the selection item.

Last item in the multiselect input box has name 'Mobile excl.' – when selected then all browser requests from mobile phones are excluded from page caching. Use this selection only in the case when you have separate template(s) for mobile phone browsers. Because of great variety of mobile browsers this solution is more practicable as splitting cache space on plenty of small chunks.

9.    Global exclude – USE ONLY IN THE CASE WHEN JOTCACHE COMPONENT EXCLUDE IS NOT ENOUGH.
In some very rare cases can Joomla request contain 'virtual' component link which does not belongs to installed components stored in the Joomla database. In such case when you need to exclude specific links and/or pages from caching here is possibility to define parts of URL (key=value pair) which are excluded.

After saving JotCache parameters check if the JotCache plugin is enabled and located as last item in system plugins list (if it is not then correct status and items order).

Comments  

+1 #1 Stephan 2015-11-05 20:05
Hi Guys,
I'm using your JotCache component on my website and it works really great with defaults parameters. Thank you very much for this guys ! Now i'm trying to understand how it works (not a geek in cache features, you know ;) SO it would be great if you could update the image link on your "help" pages. Thanks for this if you take care about that and go on with your wonder job ...

Only registred users have rights to post comments. Please log-in or create an account.

We have 48 guests and no members online
Copyright © 2015 JotComponents
We have 48 guests and no members online
Copyright © 2018 JotComponents