gist/app/bootstrap.php.d/80-cache.php

8 lines
170 B
PHP

<?php
use Silex\Provider\HttpCacheServiceProvider;
$app->register(new HttpCacheServiceProvider(), array(
'http_cache.cache_dir' => $app['root_path'].'/cache/',
));