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 In addition to the methods and properties above, MarkupMarkup
class also inherits all the methods and properties of: Wire.Common
Name Return Summary None Expire the cache, automatically hooked to every $pages->save() call string
bool
Get cached data identified by 'uniqueName' or false if cache not available None Generate the module's path, static so it can be used by the static getModuleConfigInputfields function number
Clears all Markup int
Save the data to the cache Additional methods and properties
API reference based on ProcessWire core version 3.0.251