Nuxt/examples/cached-components/nuxt.config.js
2017-05-21 15:13:19 +02:00

11 lines
148 B
JavaScript

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