cookieCache doesn't work with customSession plugin
Hello. I'm wokring on a next.js 15.3 application and noticed that
cookieCache
doesn't work once I add customSession
plugin. I enabled query logging for Prisma client, and see that it queries database on every getSession()
call. Maybe I'm missing something obvious. Did anyone have similar issues? Here is my config:
2 Replies
Unfortunately no, customSession is still invoked on every request even when cookieCache is enabled.