Cache Middleware for PHP Slim micro framework using apccache