playbook/antigravity-awesome-skills/skills/vercel-optimize/references/support-topics/isr-revalidation-static-gen...

1.4 KiB
Raw Blame History

id title status candidateKinds frameworks priority citations maxBriefChars
isr-revalidation-static-generation ISR revalidation and static generation active
isr_overrevalidation
next@>=13.4.0
95
https://vercel.com/docs/incremental-static-regeneration
https://nextjs.org/docs/app/api-reference/functions/revalidateTag
https://nextjs.org/docs/app/api-reference/functions/revalidatePath
1000

Investigation Brief

For ISR over-revalidation, the goal is to reduce unnecessary regeneration work without making content stale beyond the products tolerance.

Evidence To Check

Compare ISR writes to reads, then inspect the routes revalidate, cacheLife(), tag invalidation, and content update path. Look for very short timer revalidation on routes where updates are event-driven. If recommending cacheLife() or cacheTag() for tagged content, prove the exact tags are invalidated by revalidateTag() or updateTag(); near-matches do not count.

Do Not Recommend When

Do not lengthen revalidation for inventory, pricing, auth, or other user-critical freshness without source evidence that stale content is acceptable. Do not claim existing CMS or webhook invalidation unless the matching invalidation call or config is in the allowed files.

Verification

Tie the fix to the observed ISR writes per read and the line that controls revalidation or on-demand invalidation.