www: cache static assets properly (#166)

This commit is contained in:
Luca Casonato
2022-04-24 10:55:27 +02:00
committed by GitHub
parent 98a3658452
commit 43524dbcea
3 changed files with 26 additions and 5 deletions
+1
View File
@@ -40,6 +40,7 @@ export const handler: Handlers = {
return new Response(CSS, {
headers: {
"content-type": "text/css",
"cache-control": "public, max-age=31536000, immutable",
},
});
},