Replies: 1 comment 3 replies
-
If you have any experience with using the stale-while-revalidate HTTP header, it works similarly. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, abount the
revalidate
attribute ofgetStaticProps
there are some questions? Who can help me out?1 - Whether the
revalidate
attribute has a default value?If I don't set it‘s value, will the server continue to generate static pages instead of just generating pages once in the revalidate seconds, increasing the pressure on the server.
2 - The page re-generation timing.
For example, when I set 10 seconds and the res data changed in 5s, the request within 10s was still using the cache page, and the new request after 10s updated the page data, then when did the page is re-generated, 10s later or 5 - 10s?
Beta Was this translation helpful? Give feedback.
All reactions