Open MrMage opened 3 years ago
I noticed that https://github.com/silviolleite/laravel-pwa/blob/master/Http/Controllers/LaravelPWAController.php does not add Cache-Control: and Expires: headers to the response for manifest.json. It seems like this causes Chrome to re-download manifest.json with every navigation.
Cache-Control:
Expires:
manifest.json
Would it be possible for the route registrar to add the corresponding caching middleware with a configurable delay, e.g. one hour?
Is it an option to control this using the HTTP Server? I like to control everything there.
I noticed that https://github.com/silviolleite/laravel-pwa/blob/master/Http/Controllers/LaravelPWAController.php does not add
Cache-Control:
andExpires:
headers to the response formanifest.json
. It seems like this causes Chrome to re-downloadmanifest.json
with every navigation.Would it be possible for the route registrar to add the corresponding caching middleware with a configurable delay, e.g. one hour?