Remove "Expires" header from png responses

This commit is contained in:
printempw 2018-08-05 16:47:50 +08:00 committed by Pig Fang
parent 16dbc6cff0
commit 6775728c50

View File

@ -34,7 +34,6 @@ class ResponseMacroServiceProvider extends ServiceProvider
'Content-type' => 'image/png',
'Last-Modified' => format_http_date($last_modified),
'Cache-Control' => 'public, max-age='.option('cache_expire_time'),
'Expires' => format_http_date($last_modified + option('cache_expire_time')),
'Etag' => $etag
], $header));
});