@payload-enchants/cached-local-api

Caching layer for Payload Local API using Next.js unstable_cache with auto-revalidation.

314 Mar 18, 2026

Overview

Caching layer for Payload 3.0 Local API using Next.js unstable_cache. Caches find, findByID, findOne, findGlobal, and count operations with automatic revalidation on document changes. Adds a new findOne operation for field-based queries.