Next.js Discord

Discord Forum

Can someone help me understand the cache logs?

Unanswered
American black bear posted this in #help-forum
Open in Discord
American black bearOP
I have a cached header component in which I have a console.log("header"), and on development, I see these 2 logs:

- first the simple header as usual
- then, the one with "Cache" in front



Does that mean that the component is sucessfully cached and the logs ran from "cache"? and I think this is a local development behaviour only, on production I should not see logs like this with "Cache header", right?

0 Replies