feat: web cache (#12403)

This commit is contained in:
MistEO
2025-04-19 13:08:56 +08:00
committed by GitHub
parent 869816af70
commit ee858261c6

View File

@@ -3,5 +3,13 @@
"404": {
"rewrite": "/docs/404.html"
}
},
"routes": [
{
"route": "/*.{jpg,gif,png,ico,svg,css,scss,js,webp,webmanifest}",
"headers": {
"cache-control": "public, max-age=604800, immutable"
}
}
]
}