Caching made easy
Zoocache is a caching library utilising various storage mediums (Memcached, MySQL and File System), intended to cache expensive task in your application or website (e.g. database queries).
Additionally Zoocache provides a throw-in caching engine, that uses output buffering to easily add a caching layer to any existing website.
To be usable in all environments, Zoocache extracts storage operations into various storage drivers, so that it's possible to run Zoocache with the database of your choice. Additionally, this makes it very easy to add support for a new storage medium.
PHP 5.3or newer
- zlib` for gzip compression (optional)
- Install Zoocache through composer using
'zoocache/zoocache': '*'as a dependency in your
vendor/zoocache/zoocache/config.phpand set the options for the storage medium of your choice.
vendor/zoocache/zoocache/install.phpwith your browser or run it on the command line using
- Set up a php file in your app directory and include
vendor/zoocache/zoocache/test.php. Now, load the new file with your browser to check whether zoocache is working.
- Documentation can be found in the wiki
- Submit any questions, bugs or suggestions to the Issue Tracker
Copyright 2011-2012 by Marcel Klehr