Skip to content

ISR revalidatePath, revalidateAll, revalidateTag #9674

Open
@mquandalle

Description

@mquandalle

Describe the problem

Currently the way to force the revalidation of an ISR page is to query the server like this:

GET or HEAD request with x-prerender-revalidate: <token> will force the asset to be re-validated

I have some data that is displayed on all pages of my website, and would like to invalidate all pages when the data is updated. Currently I workaround this issue by redeploying the app, but as this is done frequently I'm interested in a quicker ISR cache invalidation instead.

Describe the proposed solution

The revalidatePath from NextJS would solve my issue assuming I can revalidateAll = () => revalidatePath('/'). NextJS also proposes revalidating by tag using revalidateTag.

Importance

nice to have

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions