Skip to content

Commit

Permalink
Add basic caching to the homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobefu committed Mar 31, 2024
1 parent 02293bd commit 6f5ee56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ export default defineNuxtConfig({
},

routeRules: {
'/': {
swr: 300,
},
'/api/**': {
robots: false,
sitemap: false,
Expand Down

0 comments on commit 6f5ee56

Please sign in to comment.