updated cache headers

This commit is contained in:
Miodec 2022-10-09 00:22:34 +02:00
parent 4f70084e67
commit f2d7acd7f0

View file

@ -38,7 +38,25 @@
]
},
{
"source": "/*.html",
"source": "**/*.@(jpg|jpeg|gif|png|svg|webp|js|css|eot|otf|ttf|ttc|woff|woff2|font.css)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=604800"
}
]
},
{
"source": "/**",
"headers": [
{
"key": "Cache-Control",
"value": "no-cache, no-store, must-revalidate"
}
]
},
{
"source": "/service-worker.js",
"headers": [
{
"key": "Cache-Control",