Skip to content

On-demand Incremental Static Regeneration (next.js 12.1) #795

@priard

Description

@priard

Hi, next.js 12.1 introduces On-demand Incremental Static Regeneration.

"Next.js now exposes a function unstable_revalidate () allowing you to revalidate individual pages that use getStaticProps. (...) You can now manually purge the Next.js cache for a specific page on-demand."

This gives the possibility to trigger the revalidate cache of selected paths, e.g. during publishing, saving and updating (WordPress backend) without the need to set revalidation for a specific time. With larger websites this will save a lot of server resources while still maintaining excellent performance.

I wonder if you are considering introducing this possibility in future versions of Faust?

More info on next.js On-demend ISR: https://nextjs.org/blog/next-12-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureNew functionality being added

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions