LOCK_READ
LOCK_READ
A cache driver that stores cached data in the CMSMS tmp/cache directory.
This class supports file locking, and serializing advanced data. It supports storing files in munged filenames (so that the content of files is difficult to discern by the filename, locking blocking, and grouping cached data.
parameters: lifetime int (cache lifetime in seconds) (default of 300 seconds) locking bool (enable locking) (off by default) cache_dir string (Cache directory. default is /tmp auto_cleanup bool (automatically clean expired caches) default is 0 blocking bool auto enable blocking (default is off) group string Default cache group name.
$driver = new cms_filecache_driver(array('cache_dir'=>TMP_CACHE_LOCATION,'group'=>'webpages'));