We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ee2d93 commit 380083aCopy full SHA for 380083a
examples/full/pages/[pageId].tsx
@@ -19,7 +19,11 @@ export const getStaticProps = async (context: any) => {
19
props: {
20
recordMap
21
},
22
- revalidate: 10
+ // cache for 60 minutes
23
+ // NOTE: you'll likely want to use a shorter cache time for your app, but
24
+ // I'm bumping this up because my vercel bill keeps increasing due to people
25
+ // abusing the demo to host their own sites.
26
+ revalidate: 60 * 60
27
}
28
29
examples/minimal/pages/[pageId].tsx
@@ -12,7 +12,7 @@ export const getStaticProps = async (context: any) => {
12
13
14
15
+ revalidate: 60 * 60 // cache for 60 minutes
16
17
18
0 commit comments