# Next.js `use cache` Next.js use cache Directive Overview 'use cache' is a compiler directive that opts a route, component, or function into caching. It replaced the oldcachenextjsuse CacheJun 15, 20266 min