Skip to content

Commit

Permalink
feat: cache isr
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielcaiana committed May 12, 2023
1 parent c8a4712 commit 9904ca6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ export default defineNuxtConfig({
},
},
routeRules: {
'/**': { prerender: true },
'/**': { isr: 86400 },
'/about': { isr: true },
'/blog/**': { isr: true },
},
})

0 comments on commit 9904ca6

Please sign in to comment.