The SimpleCache is a mechanism designed to alleviate the need for certain views to be regenerated dynamically. Instead, they are generated once, saved as a static file, and served in a way that entirely bypasses the Elgg engine.
If SimpleCache is turned off (which can be done from the administration panel), these views will be served as normal, with the exception of site CSS.
The criteria for whether a view is suitable for the SimpleCache is as follows:
Contents |
You can regenerate the SimpleCache at any time by:
/upgrade.php, even if you have nothing to upgrade
You can register a view with the SimpleCache with the following function at init-time:
elgg_register_simplecache_view($viewname);
You can then access it at http://your-site/simplecache/view.php?view=viewname, with an optional &viewtype=viewtype parameter.