"use cache"
Also written: use cache
A directive placed at the top of an async function or component that caches its result so it is made once and reused. `getProducts` uses it so the products file isn't read on every visit.
Also written: use cache
A directive placed at the top of an async function or component that caches its result so it is made once and reused. `getProducts` uses it so the products file isn't read on every visit.