%VARCACHE{ "24" }%
Attribute | Comment | Default |
---|---|---|
"..." orrefresh="..." | Cache refresh period in hours (maximum age of cache). Accepts decimals, such as 0.25 | 24 |
cachemsg="..." | Message shown when looking at a cached topic. Use $age to indicate the age of cache, $link to indicate the refresh URL | This topic was cached $age ago ([[$link][refresh]]) |
updatemsg="..." | Message shown after a cache refresh. Use $link to indicate the refresh URL | This topic is now cached ([[$link][refresh]]) |
%VARCACHE{"168"}%
caches the current page for 7 days
cachmsg
and updatemsg
.
%VARCACHE{}%
variable is handled by the VarCachePlugin.