Static Optimization Indicator
When a page qualifies for Automatic Static Optimization we show an indicator to let you know.
This is helpful since automatic static optimization can be very beneficial and knowing immediately in development if the page qualifies can be useful.
In some cases this indicator might not be useful, like when working on electron applications. To remove it open next.config.js
and disable the autoPrerender
config in devIndicators
:
module.exports = {
devIndicators: {
autoPrerender: false,
},
}
Related
[
Introduction to next.config.js
Learn more about the configuration file used by Next.js.]($0b4bd5a3a6817758.md)
[
Automatic Static Optimization
Next.js automatically optimizes your app to be static HTML whenever possible. Learn how it works here.]($8a683b23b6ec8305.md)