# next-isr-revalidation > Add ISR and on-demand revalidation to Next.js routes. - Author: Adam Winick - Repository: sinelanguage/cursor-config-nextjs - Version: 20260202191819 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/sinelanguage/cursor-config-nextjs - Web: https://mule.run/skillshub/@@sinelanguage/cursor-config-nextjs~next-isr-revalidation:20260202191819 --- --- name: next-isr-revalidation description: Add ISR and on-demand revalidation to Next.js routes. disable-model-invocation: true --- # Next.js ISR and Revalidation Add incremental static regeneration with explicit revalidation and cache tags. ## When to Use - Pages that can tolerate stale content - Performance-sensitive routes ## Inputs - Route segment - Revalidation interval or tags - Cache invalidation triggers ## Instructions 1. Use `revalidate` options on server fetches. 2. Add `revalidatePath` or `revalidateTag` where needed. 3. Ensure cache strategy is explicit and documented. 4. Document stale content tolerance per route. ## Output - ISR-enabled route with revalidation and cache-tag strategy.