Glossary: Next.js Beyond the Basics
"use cache"
Also written: use cache
A directive at the top of a function that tells Next.js to remember its result. Each distinct set of arguments is cached separately, so getProduct("DEC-12") and getProduct("ESP-12") get their own entries.