Add cache header site assets (#1801)

This commit is contained in:
Eric Fennis
2024-01-13 15:32:18 +01:00
committed by GitHub
parent 7e936c8803
commit e56b09d400
+11
View File
@@ -35,5 +35,16 @@
"destination": "/icons",
"permanent": false
}
],
"headers": [
{
"source": "/assets/:path*",
"headers": [
{
"key": "Cache-Control",
"value": "cache-control: public, max-age=31536000, immutable"
}
]
}
]
}