diff --git a/nuxt.config.ts b/nuxt.config.ts index 0b71d39a..ced850a3 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -159,6 +159,7 @@ export default defineNuxtConfig({ routeRules: { ...Object.fromEntries(Object.keys(pageMeta).flatMap(path => [ [path, { swr: 60 * 60 }], + [path + '/_payload.json', { swr: 60 * 60 }], [path + '.md', { swr: 60 * 60 }], ])), '/admin/**': { prerender: false },