JotCache ver.1.3 Help - Administration

Published: 04 December 2010

Administration

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 parameters :

JotCache plugin parameters

and set their values to required operation mode :

  1. Browser caching (Yes) - Web server is forcing the user browser to local cache of the sent content
  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 frontend 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. File delete activity is limited to max. 500 ms duration. Remaining expired cache files are then deleted during next user requests each time with max. 500 ms duration until all expired files are deleted from the cache directory. Here it is recommended to have cleaning process shorter as 500 ms. which can be adjusted with this x period smaller value. Short overview about the cleaning process can be gained with JotCache Clean Log parameter set to Yes.
  6. 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 'jotcache_clean.log'. Each cleaning run is represented with one log line in this format :

    date             time                A          L           D     duration (sec.)
    2010-12-04 12:40:50 all:   36 left:   21 del:   15    0.197

    where A – represents number of all cached pages (each page has 2 stored files – content
    L – represents number of intact pages remaining in the cache after clean process
    D - represents number of deleted pages

    When you see cleaning duration longer as 0.5 sec. in one line then cleaning is in some way overloaded. In the case of steady clean overloading it is recommended to set smaller number of Cache Auto Clean parameter. In the oposite way have to be this parameter adjusted when cleaning is performed too often unnecessary lasting the cache response. But take these rules easy the used solution protect you against big mistakes.
  7. 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).
    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.
  8. 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).

JotCache Component

JotCache Component is management layer over the basic JotCache Plugin functions containing :

  • Overview of one-to-one relation between cached page file (with hashed name e.g. 8d2146c2a4b1b3c9d65bac698c9115a5.php) and its original resource (component name, view, content id). The list is showing ONLY active cached pages (pages not yet expired).

    This one-to-one relation is stored in database. When it is necessary to reload the file list on JotCache Management page simply press Refresh button on component's toolbar.

    Refresh also takes care for synchronizing page cache in the file system with database content. Because of different Joomla core functions concerning system cache (located in Global settings and Tools – e.g. system page cache is cleared outside JotCache Management (Administrator > Tools > Clean Cache)) here can be that database content is not matching all cache files in server file system.
    Similar condition also happens when you start caching of page content with JotCache and system page cache is not empty. Pages cached prior JotCache cache operation are not displayed in the JotCache Component overview.

  • Filtering the list of cached pages according component name , component view and page mark

  • Deleting selected cached pages with possibility of individual or group (top check-box in the table header) checking of cached page contents for delete operation

    JotCache component selection
  • Marking cached content for administrator in the frontend with Set Mark button pressed - see Fast check of cache operation (frontend and backend).

  • Selecting components and their specific views which shall be excluded from page caching.

Notes

  1. Content Id reflects Id of specific component e.g. Content or Weblinks....
  2. Created date presents first date/time of save of cached content via JotCache (this date/time is not refreshed with each repeating save of the cached page file)

 

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

We have 110 guests and one member online
Copyright © 2015 JotComponents
We have 110 guests and one member online
Copyright © 2018 JotComponents