mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
feat: ✨ Set cache-control maxAge on emojis to 1 year
This commit is contained in:
parent
6b6d1d44d2
commit
76e5f4e9aa
|
|
@ -247,13 +247,13 @@ export default defineNuxtConfig({
|
||||||
brotli: false,
|
brotli: false,
|
||||||
gzip: false,
|
gzip: false,
|
||||||
},
|
},
|
||||||
routeRules: {
|
publicAssets: [
|
||||||
"/emojis/**": {
|
{
|
||||||
headers: {
|
baseURL: "emojis",
|
||||||
"Cache-Control": "public, max-age=31536000, immutable",
|
dir: "public/emojis",
|
||||||
},
|
maxAge: 31536000,
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
schemaOrg: {
|
schemaOrg: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue