You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to split data and page cache and use separate storages for them using this library?
Let's say I want to keep storing page cache in file system, but data cache should be stored in Redis.
I know that it's not an issue, but Discussions are closed. So asking here.
you can provide your own cache handler as option to basic one and specify different strategies based on the route type (if it is a page vs api route), but still note that next will have to request both at the same time anyway, so in most of the cases you will call both storages at the same time
Activity
RomanBobrovskiy commentedon Jul 18, 2025
you can provide your own cache handler as option to basic one and specify different strategies based on the route type (if it is a page vs api route), but still note that next will have to request both at the same time anyway, so in most of the cases you will call both storages at the same time