using-cache-lifecycle-apis

Community

Fine-grained cache control with Next.js 16.

Authordjankies
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill teaches Next.js 16 cache lifecycle APIs like cacheLife, cacheTag, updateTag, refresh, and revalidateTag to manage caching across private and remote caches.

Core Features & Use Cases

  • cacheLife for duration profiles and revalidation control.
  • cacheTag for grouping and invalidating related content.
  • updateTag / revalidateTag to invalidate caches on data changes.
  • refresh to force immediate revalidation of the current page.

Quick Start

Apply cacheLife and cacheTag in a GET route and trigger a revalidation after updating data.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: using-cache-lifecycle-apis
Download link: https://github.com/djankies/claude-configs/archive/main.zip#using-cache-lifecycle-apis

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.