%VARCACHE{}% variable is handled by the VarCachePlugin.
%VARCACHE{ "24" }%
| Attribute | Comment | Default |
|---|---|---|
updatemsg="..." | Message shown after a cache refresh. Use $link to indicate the refresh URL | UPDATEMSG setting |
"..." orrefresh="..." | Cache refresh period in hours (maximum age of cache) | REFRESH setting |
cachemsg="..." | Message shown when looking at a cached topic. Use $age to indicate the age of cache, $link to indicate the refresh URL | CACHEMSG setting |
%VARCACHE{"168"}% caches the current page for 7 days
<varcache_exclude> ... </varcache_exclude> to exclude sections of a page <varcache_exclude> %SEARCH{...}% </varcache_exclude> runs the search on every page view, regardless of caching
VARCACHE_EXCLUDE_ %VARCACHE_EXCLUDE_WIKIUSERNAME% renders the WIKIUSERNAME variable on every page view, regardless of caching