NuxtN
Nuxt2y ago
djmtype

Prerender RouteRules clarification

If I prender my api endpoint then build, and then start my dev server again, will it reference from the .output directory or make a new request from the source API?

nitro: {
    routeRules: {
      '/api/spotify/**': { prerender: true },
    }
  }


I basically don't want or need to make any new requests during a development session because I'm fetching a bunch of data at once, and it will lead to a 429.
Was this page helpful?