mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
30 lines
977 B
PHP
30 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', 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' => [],
|
|
|
|
]; |