mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 19:49:16 +01:00
feat: ✨ Set cache-control maxAge on emojis to 1 year
This commit is contained in:
parent
6b6d1d44d2
commit
76e5f4e9aa
1 changed files with 6 additions and 6 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue