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
We are using the following configuration for our .next-boost.js file
module.exports={cache: {ttl: 60,tbd: 60*2,},
Expected behavior Cache manager inited, will start to purge in 120s
Actual Behavior Cache manager inited, will start to purge in 3600s
Notes
What we have observed is that the tbd value is ignored, and instead it uses the default value or 1 hour. We have been able to work around this by utilizing the ability to set a custom adapter, but still use the hybrid-disk-cache.
I haven't been able to 100% confirm it but I believe the following line of code is the problem. As I don't believe the configuration values are being passed as a parameter into the init() function.
Description
The the tdb value is ignored in .next-boost.js
We are using the following configuration for our .next-boost.js file
Expected behavior
Cache manager inited, will start to purge in 120s
Actual Behavior
Cache manager inited, will start to purge in 3600s
Notes
What we have observed is that the tbd value is ignored, and instead it uses the default value or 1 hour. We have been able to work around this by utilizing the ability to set a custom adapter, but still use the hybrid-disk-cache.
I haven't been able to 100% confirm it but I believe the following line of code is the problem. As I don't believe the configuration values are being passed as a parameter into the init() function.
See -
next-boost/src/handler.ts
Line 103 in 80014a3
And it should be
The text was updated successfully, but these errors were encountered: