User Tools

Site Tools


Table of Contents

JotCache usage

Purpose

JotCache was developed in last six years as advanced solution for page caching in CMS Joomla. This solution replaces standard System-Page Cache plugin and usually works together with enabled Global Cache Settings.

JotCache extension in version 6.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 include/exclude selected page URLs, exclude template positions (modules allocation) and 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.

Setup

The best setup of site have to be target for many administrators but unfortunatelly here does not exists one general site setup. The good page cache setup depends on visitor frequency and behavior as well as on installed site template and 3rd parties extensions.

Here can be given some recommendations but many times final optimal settings have to be tuned in more steps on real website. Sometimes on the first look some minor facts can be critical for applicable solution (used templates, javascript code, implemented third party extensions, web server settings).

Setup types

  • initial - to check operation of JotCache on the site
  • site with content change frequency low

    set Cache Lifetime (parameter of JotCache plugin) to 1440 (1 day) up 43200 (1 month)

    to see updated content of cached pages delete them after update in JotCache Management View or use Mark feature of JotCache (can be assigned also to other user groups as administrator) or use Edit Page Invalidate (JotCache plugin Advanced tab) to recache latest page content immediatelly after the change

    to delete cached page together with cleaning of global cache enable parameter Clean global cache in JotCache component Options

    enable autoclean feature of JotCache plugin with cleaning period 15 (min.)

  • site with content change frequency high

    set Cache Lifetime (parameter of JotCache plugin) to 15 up 120 (min.)

    use Edit Page Invalidate (JotCache plugin Advanced tab) to recache latest page content immediatelly after the change

    for cache regular cleaning use cron script (script template is available in /cron/cron.php inside administrator JotCache component directory)

Initial setup

Click on image to see details