From 7d2fa64c994cdb482b4cce2181cf2639e8e12e76 Mon Sep 17 00:00:00 2001 From: Alejandro Akbal <37181533+AlejandroAkbal@users.noreply.github.com> Date: Mon, 1 Apr 2024 22:02:10 +0100 Subject: [PATCH] perf: swr for / route --- nuxt.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nuxt.config.js b/nuxt.config.js index ea81f0db..3b2eff8f 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -10,7 +10,7 @@ export default defineNuxtConfig({ */ routeRules: { // TODO: prerender / but not if there are query params - '/': {}, + '/': { swr: true }, '/posts/**': { swr: 60 * 5 @@ -274,6 +274,10 @@ export default defineNuxtConfig({ } }, + schemaOrg: { + default: false + }, + /** @type {import('@nuxtjs/sitemap').ModuleOptions} */ sitemap: { autoLastmod: true,