User Tools

Site Tools


New features in ver.5.0

Multisite operation

CMS Joomla in mostly used standard operation is one-site based. The internal links to resources are stored in form of URI relative to Joomla file system root. Advantage of such arrangement is easy portability of Joomla sites between more storage locations. Oldier versions of JotCache (prior ver.5.0) are storing links to cached pages as relative URI.

In case of multisite Joomla operation is necessary to store internal links as absolute URL. With storing absolute URL is lost easy portability (take care for cleaning entire cache after the migration) but page caching reflects true URLs on the site.

* Usage

When multisite operation is enabled then cache pages are stored in JotCache storage with absolute URL. This feature can be used in cases when :

  • some of site page are requested with http: and other ones with https: protocol
  • on the site are used subdomains within one Joomla CMS

* Settings

are performed on JotCache plugin edit form (default value is No) :

After change done it is recommended to clean entire page cache (on JotCache Management View click on button Delete ALL).

Use of memcached as cache storage

* Usage

Local disk caching is faster than using a local memcached (due to communication performed via TCP/IP protocol), and much faster than using a remote memcached server (TCP/IP connections with network latency).

Memcached storage for JotCache requires :

  • Memcached server (service on Windows) which usually listening on port 11211
  • PHP module memcache (lighter, oldier solution) or PHP module memcached (newer solution)

Fast check what is installed on host server can be done inside Joomla in following way :

  1. open Joomla backend System/Global Configuration/Server and open combobox Cache Handler
  2. open Joomla System/System Information/PHP Information and search for memcache or memcached module

* Settings

are performed on JotCache plugin edit form :

Extended URL caching rules

New features :

  • switch for include URLs vs. exclude URLs of pages from caching
  • more possibilities for URL definition rules (introduced logical AND for concatenating of component views and key=value pairs)

Using logical AND (expressed in caching rule with character '&') allows more precise to manage caching process.

* Example

page URLs :

http://web.site/index.php?Itemid=190&option=com_easydiscuss&view=categories&layout=listings&category_id=3
http://web.site/index.php?Itemid=190&option=com_easydiscuss&view=categories&layout=listings&category_id=7

URL caching rule set in row 'com_easydiscuss' :
categories&Itemid=190&layout=listings&category_id=3,categories&Itemid=190&layout=listings&category_id=7

Cache Operation Modes (previous Browser Split)

For each browser category (incl. phones, tablets) is possible to select own operation mode:

  • Exclude from caching
  • Use common cache (for different browser categories)
  • Use individual cache