Usage #

This is another well-known caching system in PHP. You will need to install the MemCached PHP Module to use the cache method.Click here to know how to install MemCached

To use the MemCache you do:


class MyReport extends \koolreport\KoolReport
    use \koolreport\cache\MemCache;

    function cacheSettings()
        return array(

The "ttl" means Time To Live which is the time cache will store the result. And the "servers" contains the list of memcahe servers you want to use.