Closed academici closed 5 years ago
Good catch, I'll fix this soon!
Is it possible to define LRU cache options in server config What do you think?
Actually you can already override this setting in your server.config.js
file (and btw fix your current issue)
export default {
renderer: {
cache: lruCache(/* your options */),
}
};
Fixed in 0.1.0-alpha.19
Describe the bug Сomponent is not cached. Getting an error: [vue-server-renderer] Component HelloWorld implemented serverCacheKey, but no cache was provided to the renderer.
To Reproduce
node: v11.1.0 vue-cli: 3.6.3 uvue: v0.1.0-alpha.18 os: ubuntu 18.04 browser: chrome 73