Background Regeneration

A Nuxt app can be statically regenerated from time to time.

You can specifiy when you want a page to be regenerated:

export default defineNuxtConfig({
  routeRules: {
    '/**': { swr: 60 }
  }
})

In this example, the pages will be regenerated no more than once every 60 seconds.