Skip to content

Commit

Permalink
Merge pull request #384 from tanamoe/catou/cache-duration
Browse files Browse the repository at this point in the history
feat: increase cache duration
  • Loading branch information
catouberos authored Dec 1, 2024
2 parents 1fc48f5 + d9f63d0 commit 2f9d362
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ node_modules
.env
dist
.DS_Store

.data
6 changes: 3 additions & 3 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ export default defineNuxtConfig({
],

routeRules: {
"/": { swr: 3600 },
"/calendar": { swr: 3600 },
"/title/**": { swr: 3600 },
"/": { swr: 10800 },
"/calendar": { prerender: true },
"/title/**": { swr: 10800 },
// "/library/*": { ssr: false },
},

Expand Down

0 comments on commit 2f9d362

Please sign in to comment.