Choose the policy from freshness needs: `cache: 'force-cache'` for static data, `next: { revalidate: N }` for ISR, and `cache: 'no-store'` for request-time data. For mutations, call `revalidatePath('/route')` for route ownership or `revalidateTag('data-key')` for data ownership. Use `router.refresh()` when a Client Component needs a fresh server render, and test the full write/invalidate/read sequence.
Installs into .claude/skills of the current project.
Are you the author of Nextjs Data Fetching?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-nextjs-data-fetching-27677e11)
Choose the policy from freshness needs: `cache: 'force-cache'` for static data, `next: { revalidate: N }` for ISR, and `cache: 'no-store'` for request-time data. For mutations, call `revalidatePath('/route')` for route ownership or `revalidateTag('data-key')` for data ownership. Use `router.refresh()` when a Client Component needs a fresh server render, and test the full write/invalidate/read sequence.