feat: Set cache-control maxAge on emojis to 1 year

This commit is contained in:
Jesse Wierzbinski 2024-11-05 15:03:55 +01:00
parent 6b6d1d44d2
commit 76e5f4e9aa
No known key found for this signature in database

View file

@ -247,13 +247,13 @@ export default defineNuxtConfig({
brotli: false,
gzip: false,
},
routeRules: {
"/emojis/**": {
headers: {
"Cache-Control": "public, max-age=31536000, immutable",
},
},
publicAssets: [
{
baseURL: "emojis",
dir: "public/emojis",
maxAge: 31536000,
},
],
},
schemaOrg: {
enabled: false,