Revalidating cached data

This demo shows how to cache data fetches with cacheLife, revalidate on demand with cacheTag and revalidateTag, and secure the revalidation endpoint with authorization.

Run locally

pnpm install
pnpm dev

Open http://localhost:3000 to see the result.