JCacheStorageFile

From Joomla! Documentation

Jump to: navigation, search

JCacheStorageFile is a concrete cache storage handler, storing the cache data in files. In the Joomla CMS the default storage directory is the cache/ directory.

Contents

Availability

From Joomla 1.5 Joomla 1.6

Defined in

/libraries/joomla/cache/storage/file.php

Extends

Methods

Method name Description
__construct Constructor
clean Clean cache for a group. There are two possible modes:

"group" mode : cleans all cache in the group | "notgroup" mode : cleans all cache not in the group

gc Garbage collect expired cache data
get Get cached data by id and group
remove Remove a cached data entry by id and group
store Store the data by id and group
test Test to see if the cache storage is available

Importing

jimport( 'joomla.cache.storage.file' );

See also

Concrete Caching Handlers

Abstract Cache Storage Handler

Concrete Cache Storage Handlers

Personal tools