NuxtN
Nuxt3y ago
5 replies
.fondazione

ISR Deployment Netlify (with Sanity)

Hey, until today it is not really clear to me how to properly deploy ISR on e.g. Netlify.

I am currently using Sanity as a backend and in my /pages files I am fetching files as such

const { data, refresh } = useSanityQuery(query, {
  slug: route?.params?.slug || "",
});


My nuxt config looks like this:
routeRules: {
  "/": { isr: true },
  "/**": { isr: true },
},


But when I deploy this page, I can see that there are still network fetches on every route...

Can someone explain to me what I am not understanding / doing wrong?
Was this page helpful?