Skip to content

Commit

Permalink
Cache long time.
Browse files Browse the repository at this point in the history
  • Loading branch information
sherakama committed Jan 8, 2024
1 parent acb6c57 commit 0107764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/(storyblok)/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const dynamicParams = false; // Don't generate pages at runtime.
// Bug in Safari + Netlify + Next where back button doesn't function correctly and returns the user
// back to the page they hit the back button on after scrolling or interacting with the page they went back to.
// Setting a long revalidate time patches this until Next/Netlify fix the bug in future releases of their stuff.
export const revalidate = 60;
export const revalidate = 60 * 60 * 24 * 365;

// Storyblok bridge options.
const bridgeOptions = {
Expand Down

0 comments on commit 0107764

Please sign in to comment.