Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isr and csr #2514

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

isr and csr #2514

wants to merge 1 commit into from

Conversation

emersonlaurentino
Copy link
Member

No description provided.

@emersonlaurentino emersonlaurentino self-assigned this Oct 17, 2024
Copy link

vercel bot commented Oct 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
faststore-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 8:01pm

Copy link

codesandbox-ci bot commented Oct 17, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

This commit enables the experimental feature "swrDelta" in the next.config.js file, which is used for optimizing data fetching with SWR. Additionally, it adds the "revalidate" option with a value of 300 seconds (5 minutes) in the getStaticProps function of the [slug]/p.tsx file. This option controls how often the page should be revalidated and updated with new data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributing Pull request submitted by the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants