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 05f8e54 commit c927cddCopy full SHA for c927cdd
deploy/nginx.conf
@@ -8,14 +8,8 @@ server {
8
gzip on;
9
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/wasm;
10
11
- # Set correct MIME type for WASM files
12
- location ~* \.wasm$ {
13
- add_header Content-Type application/wasm;
14
- add_header Cache-Control "public, max-age=31536000, immutable";
15
- }
16
-
17
- # Cache static assets
18
- location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ {
+ # Cache static assets, including WASM
+ location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|wasm)$ {
19
add_header Cache-Control "public, max-age=31536000, immutable";
20
}
21
0 commit comments