JotCache ver.2.0 Help - Cache Management

Published: 08 September 2011


Cache management

Management view

JotCache management view

Opening JotCache component you have the possibility to look into one-to-one relation between cached pages and their original resource - title, original link, unrouted link (when Mark option is set on), component name, view, content id as well as parameters which have influence on separate caching – browser split (setting in JotCache plugin) and language set for cached page. Here it is necessary to remember that core of page caching with JotCache is server file system where all cached pages are stored as files. In the time of storing these files are also stored management data into database (table jotcache).

Remarks to items expiration & synchronisation

After specified cache time stored files of cached pages are no more valid – they expire. Here are important two topics for proper management : removing of expired files from file system and database as well as keeping set of stored cached items in synchronisation between file system and database.
During JotCache development were used different strategies to perform these tasks.

JotCache ver.1.0.x was presenting all pages (files) valid and expired in management view. This mixture has made difficult to manage cache and therefore starting with JotCache ver.1.1 here were two important changes to cache management operation. At first JotCache component was showing only active cached pages (pages not yet expired). Second change relates to reassigned Refresh button on the toolbar. Refresh button had no more synchronising action between database and cache file system, but it was assigned to pure refresh of cached pages list. Unfortunately extensive removing of expired items from file system and database was major obstacle for working with cache management on larger web sites (very long opening/loading).

JotCache ver.2.0.x based on administration experience with oldier versions has implemented following way of operation. For fast responses during opening/filtering management activities no removing/synchronisation of expired items from file system and database is performed.

Expired items are marked in management view with item line in italics font and Created time value is embraced with :

  • '()' for cache files expired and present in file system
  • '##' for cache files no more present in file system.

Thus the administrator has fast overview about the cache status. For refreshing view to latest content and removing of obsolete items shall be used Refresh button on Cache Management toolbar.

Presented informations about cached pages

When calling page in Joomla front-end each unique URI string represents cached item when following major conditions are fullfilled :

  • user is not registred in CMS (anonymous user)
  • it is used GET method
  • no DEBUG mode used

For cached item is presented in JotCache management view :

  • page title with link to original frontend page call (if implemented with SEF routing)
  • page call target expresed as component, view, content id (some third parties extensions are not using view, content id but they have own parameters)
  • time of item creation (server system time)
  • language set for item content
  • browser (only selection from IE6-IE9, mobile set in plugin)
  • mark with link to original page query string (can be used for page exclusion) – it is shown only after clicking on toolbar button Set Mark after frontend pages recalls

Selecting of cache items for deleting from the cache

For selection of cached pages which shall be deleted from the cache you can use following methods :

  • individual selection with checkbox on the most left position of displayed item row
  • search by page title and then use checkbox(es) for selection
  • group selection for all cached pages of selected component and/or view with appropriate selection boxes
  • selection of marked pages using Set Mark button. Pressing this button creates setting of mark cookie in administrator browser during current session and then after all visited pages in site frontend shall be marked with  visible 'Yes' in JotCache Management view. Using top selection box you can select only last visited page(s). 'Yes' mark has link to cached page with transparent URL query string (without any SEF transformations) which can be used for definitions of excluded pages (on the page shown after pressing Exclude on management view toolbar).

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

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