openclassify/config/httpcache.php
2019-06-22 13:59:18 +03:00

31 lines
978 B
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| HttpCache Settings
|--------------------------------------------------------------------------
|
| Enable the HttpCache to cache public resources, with a shared max age (or TTL)
| Enable ESI for edge side includes (parts that can be cached separate)
| Set the cache to a writable dir, outside the document root.
|
*/
'enabled' => env('HTTP_CACHE', false),
'esi' => false,
'cache_dir' => storage_path('httpcache'),
/*
|--------------------------------------------------------------------------
| Extra options
|--------------------------------------------------------------------------
|
| Configure the default HttpCache options. See for a list of options:
| http://symfony.com/doc/current/book/http_cache.html#symfony2-reverse-proxy
|
*/
'options' => [],
];