User Tools

Site Tools

JotCache usage


JotCache was developed in last four years as advanced solution for page caching in Joomla framework. This solution replaces standard System-Cache plugin and it usually works along enabled Global Cache Settings.

JotCache extension in version 4.x consists of three internal coupled parts :

  • JotCache system plugin - which is a core of entire solution performing reading/storing of cached pages, recognition of excluded URL as well as template module positions
  • JotCache component - allowing management of page cache and batch recache operations
  • Supporting plugins :
    • JotMarker system plugin - support plugin for exclusion of template module positions
    • Recache JotCache plugin - used for recaching of all already cached pages with latest available content
    • Crawler JotCache plugin - used for crawling on the site with recaching most of visited pages for given crawl depth (faster algorithm)
    • Crawler Extended JotCache plugin - used for crawling on the site with recaching all visited pages for given crawl depth

Number of JotCache plugins can be extended in the future with other recache batch processing plugins fullfilling predescribed development rules.

JotCache is used for caching of frontend pages on the site with possibilities to exclude selected page URLs, template positions (modules allocation), bots/crawler requests from page cache. JotCache cache storage is possible to set for separate page caching based on browser type (common used browsers, phone, tablet) as well as on cookies performing specific control of page presentation during site visitor browsing.

New features of ver.4.x

Recache operations :

  • Batch recaching of frontend pages based on :
    • information stored in database from previous page caching activity
    • site crawling started with site homepage to other linked pages up to given depth level
  • Manual recache of marked files for users with JotCache recache rights (permission setting necessary). In this working mode authorized user can start on frontend pages the recache of viewed page and see immediatelly the results.
  • All recache operations are performed without disturbing of active users on the site. Long batch operations give indication about number of processed pages. It is also possible to stop recaching in any time after the start.
  • Batch recaching can be also processed as cron job with selected setting possibilities
  • Administrator JotCache Management view has indications about state of global cache, overall cache cleaning and JotCache plugin with fast access buttons to open related administrator pages.

Features included from old JotCache versions

Management view :

  • Cache management with faster opening on larger web sites. The cached files are presented with cached page titles and links, added more informations about cached page (browser type, language, non-routed query string), implemented items ordering, changed information about date/time of caching (incl. indication of expired or no more existing cache files)
  • In the management view was added listing and filtering of cached pages based on page URI
  • Possibility for site administrator to clean the page cache only for selected pages. It is possible to see the actual cached pages linked to used component and view.

Exclusion from caching :

  • Exclusion of selected pages from page caching based on component, view and URL query parameters.
  • Possibility to exclude bots (crawlers) requests from caching - included into version
  • Fast-changing dynamic modules on the cached web page can be refreshed with actual content during each user access. To the existing tagging of module positions on site template in the new version was added possibility to manage caching exclusion of template positions without changing the code of site template. All assigned template positions will be refreshed during each user access to cached web page

Cache split (separate cache storages) :

  • Possibility to set different page caches based on user browser type. Standard options allows to have different caches for Internet Explorer browsers - IE6, IE7, IE8, IE9. All other browser types are using common page cache. When used template system has separate templates for mobile phones then here is possibility to exclude mobile users from page caching.
  • Cookies split allowing separate cache storage based on cookie name/value (and related module exclusion)
  • Recognition of mobile devices for browser split function (each browser group can have own cached pages based on plugin setting)

Optimization of cached content delivery :

  • Cached page content can be compressed before saving into the cache. JotCache Plugin has option to compress (gzlib) cached pages before storing to the cache, therefore the web access to cached content is accelerated. Compressing function covers static (page) as well as dynamic module content.

Cache security :

  • Implemented strengthened security during cache activities

Cache cleaning (garbage collection) :

  • Plugin functions for more powerfull autoclean (garbage collection) activity.
  • Cleaning with cron job execution

Proof of JotCache operation :

  • Fast check of cache operation on live site without disturbing other users. For easier overview of cache mechanism on frontend pages administrator can mark his/her browser access with specific cookie allowing later to display marked page and excluded template positions / module content solely to administrator.
  • HTML content of each cached page for JotCache adjustment purposes (debug) with configuration parameter 'Show file hash' enabled

Browser (local) caching :

  • Possibility to select site URL requests which will force browser caching (locally on user side)