openclassify/config/httpcache.php
2021-10-29 11:46:50 +03:00

31 lines
977 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', true),
'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' => [],
];