MarkupCache class
A simple way to cache segments of markup in your templates.
A simpler front end to ProcessWire's CacheFile class.
Example usage:
$mycache = $modules->get("Markup Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Expire the cache, automatically hooked to every $pages->save() call Get cached data identified by 'uniqueName' or false if cache not available Generate the module's path, static so it can be used by the static getModuleConfigInputfields function Clears all Markup Save the data to the cache In addition to the methods and properties above, MarkupMarkup class also inherits all the methods and properties of: Wire.Common
Name Return Summary None string bool None number int Additional methods and properties
API reference based on ProcessWire core version 3.0.253