Nuxt/examples/cached-components/nuxt.config.js
2017-07-08 18:41:10 +02:00

11 lines
160 B
JavaScript

module.exports = {
render: {
bundleRenderer: {
cache: require('lru-cache')({
max: 1000,
maxAge: 1000 * 60 * 15
})
}
}
}