Next.js Discord

Discord Forum

Cache shared across environments?

Unanswered
Pacific anchoveta posted this in #help-forum
Open in Discord
Pacific anchovetaOP
I have a custom environment which seems to be sharing the same cache as other preview environments. Ive worked around by adding environment id to all cache keys.

Just wondering if this is the intended behaviour that custom environments in a project share cache with other preview environments?

Currently using unstable_cache, but also wondering on behalf of future “use cache”.

0 Replies