We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 723a9a5 commit d8692aeCopy full SHA for d8692ae
frontend/nginx.conf
@@ -26,15 +26,15 @@ http {
26
}
27
28
# never cache the importmap, routes, or service-worker
29
- location /service-worker.js {
+ location ~* (((importmap|routes\.registry)\.json)|service-worker\.js)$ {
30
expires -1d;
31
try_files $uri =404;
32
33
34
# handle anything with a "." that's not an HTML
35
# assume it's a static file
36
location ~* \.(?!html?)[^.]+$ {
37
- add_header 'Cache-Control' 'no-cache, must-revalidate'
+ expires 6M;
38
39
40
0 commit comments