zoocache / zoocache
Simple output caching for your app.
v0.6.2
2012-06-19 10:35 UTC
Requires
- php: >=5.3
This package is auto-updated.
Last update: 2025-03-14 04:15:53 UTC
README
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.
Requirements
PHP 5.3
or newer- zlib` for gzip compression (optional)
Installation
- Install Zoocache through composer using
'zoocache/zoocache': '*'
as a dependency in yourcomposer.json
. - Edit
vendor/zoocache/zoocache/config.php
and set the options for the storage medium of your choice. - Load
vendor/zoocache/zoocache/install.php
with your browser or run it on the command line usingphp vendor/zoocache/zoocache/install.php
. - 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.
Links
- Documentation can be found in the wiki
- Submit any questions, bugs or suggestions to the Issue Tracker
License
Copyright 2011-2012 by Marcel Klehr
MIT License.