Next.js Discord

Discord Forum

Next 15 custom cache handler not picked up

Unanswered
Transvaal lion posted this in #help-forum
Open in Discord
Transvaal lionOP
I've added a custom cache handler to use with unstable_cache with
cacheHandler: path.resolve('./cache-handler.js'),
cacheMaxMemorySize: 0,

it works locally, but when in production the cache handler doesn't get called at all, I've added logs to track, any ideas what the issue could be?

0 Replies