mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
eff27bdcfb
* Allow etags to be disabled with config option - CR Change: Rename option to generateEtags - CR Change: Add tests for etag generation - CR Change: Refactor to use next.config.js - Update documentation * Use renderOpts instead of passing nextConfig
8 lines
188 B
JavaScript
8 lines
188 B
JavaScript
module.exports = {
|
|
onDemandEntries: {
|
|
// Make sure entries are not getting disposed.
|
|
maxInactiveAge: 1000 * 60 * 60
|
|
},
|
|
generateEtags: process.env.GENERATE_ETAGS === 'true'
|
|
}
|