Basic informations

Which extensions belongs to JotCache ?


JotCache solution has following parts of operation :

  1. JotCache plugin (system) - core unit for realtime page caching
  2. JotMarker plugin (system) - used solely for recognition of modules excluded from caching
  3. plugins in the group of jotcacheplugins :
    1. Crawler plugin - can crawl through site pages to the selected depth (counted from root of Joomla site)
    2. CrawlerExt plugin - similar function as Crawler but using other walk algorithm
    3. Recache plugin - which crawls only through selected already cached pages which are stored in JotCache database (managed by JotCache component)
  4. JotCache component
  5. Cron script template which is necessary to be customized to each site individually. This script is used for cache garbage collection (removing of expired cached items from the server file system).
  6. Cron recache script template (which can be coded for same tasks as performed by plugins in the group of jotcacheplugins (see #3)
  7. JotEasyCron as standalone solution for administrators which cannot use standard cron jobs on provider servers. JotEasyCron can be set to regulary perform tasks as standard cron scripts (see #5 / #6).

Which are major JotCache functions ?


Function groups implemented in JotCache can be described in following way :

  1. main operation mode :
    1. which cache storage have to be used - e.g. file system, memcached, redis
    2. where to perform caching - selection of server cache (most used mode) or browser caching (very special case)
    3. one site / multisite operation
    4. one cache lifetime (expiration time) or many different lifetime settings for chosen groups of pages
    5. global rule for page URL processing - include or exclude chosen URLs from page caching
  2. exclusions from caching :
    1. of entire page based on page URL
    2. of chosen template positions for modules which have to be excluded
    3. based on visitor access (bots, crawlers, user browser agent)
  3. cache split - using different spaces in cache storage based on :
    1. user browser agent
    2. page cookies
    3. session variables
  4. recache of site pages - manually in JotCache component or automatically using server cron job
  5. cache clean - removing expired cached pages from cache storage to keep memory space in reasonable size
  6. setup tools - different debugging , logging and marking functions to support administrator setup

What are basic principles of JotCache operation which is needed to take in care ?


At first here it is necessary to have good knowledge about Joomla system caching – good overview gives this article (old but still valid). JotCache is built on top of Joomla system caching (global caching have to be set on, system (Page) Cache plugin have to be set off – details in JotCache Help).

JotCache is page cache type (fastest for entire page content delivery). Caching is done in the following manner :

  1. in the cache storage are cached pages with all page modules (when they are not excluded in JotCache Component)
  2. passive modules (without any user input) which have output internally modified (e.g. different counters as "Active users") can be taken out of caching processing by means Exclude Location form of JotCache component (JotMarker plugin have to be enabled)
  3. active modules with user input are during active submit not taken from the page cache but they are direct processed. The same processing (without any caching) applies to all Ajax calls. Some active modules with more steps processing (e.g. Polls) can be excluded from page caching by means of Exclude Location form of JotCache component.
    Modules which are inserted by means of any Joomla plugins into page content is not possible to exclude from caching (it is necessary to exclude entire page)
  4. page caching IS NOT ACTIVE for registred users, excluded components/views/selected pages
We have 47 guests and no members online
Copyright © 2015 JotComponents
We have 47 guests and no members online
Copyright © 2021 JotComponents