- Published on Tuesday, 03 March 2015 11:39
New features in ver.5.1
Edit Page Invalidate
In previous versions of JotCache (ver.5.0 and before) when registered user with permission to create/edit frontend page was logged-in he could change content without any limitation but after his logout the page old content was shown until expiration or invalidation of the cached page. Such approach has its advantage (only final/reviewed content is shown to public) but in some cases is requested to immediately show new content to the public directly from cache. Here is possible in JotCache ver.5.1 to enable plugin parameter 'Edit Page Invalidate'.
With plugin parameter 'Edit Page Invalidate' set to 'Yes' is active automatic deletion of page (edited in frontend) from the cache. User performing frontend page edit must have at least CREATE user permission (in standard Joomla permission assignment Author group and above).
With domain filter is posible to narrow scope of cached pages only to pages invoked from declared site.
When input box is empty then no domain filtering is performed. When any domain string (protocol://hostname) is set then page caching is performed only for pages with URLs which match given domain.
Popup window with page internal URL
For exclusion of pages from page caching is necessary to set URL exclusion definition on exclusion form.
In JotCache the exclusion definition is based on parts of page internal URL (non-routed URL). In JotCache previous versions (ver.5.0 and before) is used for such purpose MARK mode with link containing internal URL shown on component Management View (column 'Mark'). This feature still exists in JotCache 5.1.x but for fast recognition of internal URL is available 'eye' icon left to page title/URI. Clicking on this icon is opened small popup window with internal URL string.
- Published on Monday, 23 June 2014 10:35
JotCache is often used on Virtuemart shopping sites with good results for much faster page responses. But in cases when shop was configured to run with different currencies until present time was not possible to use any page caching.
The reason behind problematic behavior with page caching is usage the same URL for pages (product categories or product details) with different page content caused with currency presentation and recalculation. In case of active page caching the first page content with some currency was stored into cache. All later requests to the page returned not actually set currency but currency from first cached content.
In Virtuemart 2 actual set currency for each visitor is stored as session variable 'virtuemart_currency_id'. JotCache ver.4.2 can distinguish the value of session variable and to store different page content in cache storage. JotCache system plugin has new parameter ' Session Variables Split' which is used for described purpose.
After proper setting of session variable can be seen product pages cached with different value of session variable in JotCache Management View table. For better overview can be set in component options parameter 'Show session data'.
- Published on Sunday, 11 May 2014 11:14
Development of JotCache reacts on requirements comming from forum discussions and practical experience with thousands of Joomla web sites. Newest developed major version of JotCache is ver.5.0 primarily prepared for Joomla 3.3. New features covers following areas :
- Multisite operation
- Use of memcached (server) as cache storage
- Extended URL caching rules (include/exclude general mode, using logical AND in rule expressions)
- Cache Operation Modes (previous Browser Split) with possibility for each browser category (incl. phones, tablets) to select own operation mode - exclude from caching, use common cache (for different browser categories) or use individual cache
Now look on memcached server used as JotCache cache storage. General meaning about using different storages for caching can be expressed as :
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)
Memcached settings in JotCache are independent from global cache setting in Joomla and they are defined on storage tab of JotCache plugin edit form :
More informations about new JotCache version you can find on JotCache 5.0 Help.
Download is available in pre-release section.
- Published on Monday, 14 October 2013 13:41
New major version of JotCache was developed with the aim to make easier handling with cache and cached content. New features are not limited only to recache functions but these ones are significant step forward in JotCache functionality.
JotCache has now functions to recache pages either manual in Joomla backed and frontend or by means of batch processing started from dedicated page in site backend. These features are usually used by site administrators but they can be also available for users with rights of Manager (here is necessary to set before usage the user permissions as it is written in JotCache Help).
Batch processing is performed with jotcache plugins. Three of such plugins are included in JotCache 4 installation file :
• Crawler Extended
The crawlers allows to fill the site cache with new cached pages as well as to recache not yet expired pages with new content (if it is available).
The recache plugin restores latest page content for all pages which are still available in JotCache database (they can be also in meantime expired).
With recache plugin is also possible to recache only selected part of cached pages based on selection, filtering or title search.
It is necessary to take into account that browser initiated and controlled recache process can take long time and different limitations and timeouts from PHP and servers can be applied. From this reason browser initiated recache process is suitable for relativelly small number of site pages (max. in range of hundreds pages).