Open
Description
Describe the problem
Currently the way to force the revalidation of an ISR page is to query the server like this:
GET
orHEAD
request withx-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