Caching (Previous) (Next) Introduction

View this page in Last updated: Sun, 11 May 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Cache_Lite

Table of Contents
Introduction -- Introduction to Cache_Lite
constructor Cache_Lite::Cache_Lite() -- Constructor
Cache_Lite::get() -- Test if a cache is available and (if yes) return it
Cache_Lite::save() -- Save some data in a cache file
Cache_Lite::remove() -- Remove a cache file
Cache_Lite::clean() -- Clean the cache
Cache_Lite::setToDebug() -- Set to debug mode
Cache_Lite::setLifeTime() -- Set a new life time
Cache_Lite::saveMemoryCachingState() -- 
Cache_Lite::getMemoryCachingState() -- 
Cache_Lite::lastModified() -- Return the cache last modification time
Cache_Lite::raiseError() -- Trigger a PEAR error
Cache_Lite::extendLife() -- Extend the life of a valid cache file
constructor Cache_Lite_Output::Cache_Lite_Output() -- Constructor
Cache_Lite_Output::start() -- Test if a cache is available and (if yes) return it to the browser. Else, the output buffering is activated.
Cache_Lite_Output::end() -- Stop the output buffering started by the start() method and store the output to a cache file
constructor Cache_Lite_Function::Cache_Lite_Function() -- Constructor
Cache_Lite_Function::call() -- Calls a cacheable function or method (or not if there is already a cache for it)
Cache_Lite_Function::drop() -- Drop a cache file
constructor Cache_Lite_File::Cache_Lite_File() -- Constructor
Cache_Lite_File::get() -- Test if a cache is available and (if yes) return it

Cache_Lite provides a fast, light and safe cache system. It's optimized for file containers and protected against cache corruptions (because it uses file locking and/or hash tests).

Caching (Previous) (Next) Introduction

Download Documentation Last updated: Sun, 11 May 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.