Cache¶
Admin > System Settings¶
When cache is enabled, result of some of the function calls, database query are written in disk or memory (memcache, xcache, etc..). All further requests are served from cache with out running the functions/sql query. This can speed up application and reduce server load.
With vShare 2.7, index.php, view_video.php and video.php have cache enabled. We will enable cache on more pages in coming versions.
Cache files are stored in "cache" folder. Default caching time is 2 Hours (7200 seconds), you can change it as needed by editing include/class.cache.php
static function init($lifetime = 7200)
By default vShare use file system for caching. You can cache on memory using Memcached or Xcache by modifying include/class.cache.php
self::$_cache = Zend_Cache::factory('Core', 'File', $frontendOptions, $backendOptions);
For more details on caching, refer
http://framework.zend.com/manual/en/zend.cache.html