"cache disabled"
Unanswered
Sardinian Shepherd Dog posted this in #help-forum
Sardinian Shepherd DogOP
hello,
I am currently trying to use the "use cache" directive on a component and I get this text on the bottom left of my screen. I cannot find anywhere in the docs that explains why it says "cache disabled"? I am getting 0 errors
I am currently trying to use the "use cache" directive on a component and I get this text on the bottom left of my screen. I cannot find anywhere in the docs that explains why it says "cache disabled"? I am getting 0 errors
export const Hero = async () => {
"use cache";
const stats =
await cache.stats.get();
return (...)6 Replies
@alfonsüs ardani are you in `next build` or `next dev` ?
Sardinian Shepherd DogOP
hi, i am in next dev
Pacific sand lance
probably disabled cache in browser
i see this when i do cmd+r/f5
This can cause due to hard refresh or cache disabled in browser in network tab