/root/Elgg/engine/lib/cache.php

Registers a view to simple cache. Simple cache is a caching mechanism that saves the output of views and its extensions into a file. If the view is called by the simplecache/view.php file, the Elgg framework will not be loaded and the contents of the view will returned from file.

Warning:
Simple cached views must take no parameters and return the same content no matter who is logged in.

$blog_js = elgg_get_simplecache_url('js', 'blog/save_draft'); elgg_register_simplecache_view('js/blog/save_draft'); elgg_register_js('elgg.blog', $blog_js); elgg_load_js('elgg.blog');

Parameters:
string $viewname View name
Returns:
void elgg_regenerate_simplecache() 1.8.0 /root/Elgg/engine/lib/cache.php
 All Classes Namespaces Files Functions Variables Enumerations
Generated on Thu May 23 00:01:23 2013 for Elgg by  doxygen 1.6.3