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

Commits on Oct 17, 2024

  1. feat: Enable SWR delta and revalidate on page [slug]/p

    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.
    emersonlaurentino committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    7dfd82a View commit details
    Browse the repository at this point in the history