Table of contents ▼▲
What it does
In an effort to speed up page delivery, this plugin caches part of the html, so the Rules processing is bypassed if the page has not changed.Cache clearout
There are times when a cached file will be out of date, for example a page it links to has been removed.
To enable consistent links, the whole cache is flushed if any page is created or deleted.
How do I stop a page from being cached...
By placing the page command {{nocache}} anywhere in a page will ensure no caching takes place for that page.
This is fine for individual pages, but what if you have a dynamic command such as the {{lastupd}} command. This returns the last modified time of any page.
The cache plugin can be configured to monitor activities and exclude any page that use them. To continue with the {{lastupd}} example, we instructing the plugin to look out for this activity...
// this is php code and nneds to be either in a custom.php file or included with the plugin..
if (API::Is_PlugIn("cachepage.php") Cache::Killer("command.lastupd");
// The "command.lastupd" string is constructed from the Rules Group and Name. (See lastupd.php)
Thats it! Any page now containing that command will be ignored by the cache process.