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,
|
||||
gzip: false,
|
||||
},
|
||||
routeRules: {
|
||||
"/emojis/**": {
|
||||
headers: {
|
||||
"Cache-Control": "public, max-age=31536000, immutable",
|
||||
},
|
||||
publicAssets: [
|
||||
{
|
||||
baseURL: "emojis",
|
||||
dir: "public/emojis",
|
||||
maxAge: 31536000,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
schemaOrg: {
|
||||
enabled: false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue