diff --git a/app/config/app.php b/app/config/app.php index d9a5958..c0d25a1 100644 --- a/app/config/app.php +++ b/app/config/app.php @@ -147,22 +147,6 @@ return [ */ 'max_hash_size' => Helpers::env('MAX_HASH_SIZE', 1000000000), - /** - * HTTP expires values. - * - * Possible values: An array of mime types mapped to their cache duration - * as a relative datetime string. - * - * Default value: [ - * 'application/zip' => '+1 hour', - * 'text/json' => '+1 hour', - * ] - */ - 'http_expires' => [ - 'application/zip' => '+1 hour', - 'text/json' => '+1 hour', - ], - /** * Array of icon definitions where the array key is the file extension * (without a preceding dot) and the array value is the desired Font Awesome diff --git a/app/config/cache.php b/app/config/cache.php index 6cc2f1b..89f43c7 100644 --- a/app/config/cache.php +++ b/app/config/cache.php @@ -68,4 +68,20 @@ return [ Helpers::env('REDIS_PORT', 6379) ); }), + + /** + * HTTP expires values to control browser cache durations. + * + * Possible values: An array of mime types mapped to their cache duration + * as a relative datetime string. + * + * Default value: [ + * 'application/zip' => '+1 hour', + * 'text/json' => '+1 hour', + * ] + */ + 'http_expires' => [ + 'application/zip' => '+1 hour', + 'text/json' => '+1 hour', + ], ];