Add note that next build
output is compressed. (#37228)
When you run `next build`, the sizes you're seeing in the output are the compressed sizes with gzip.
This commit is contained in:
parent
fc61428db1
commit
8aa15a21f8
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ NODE_OPTIONS='--inspect' next
|
|||
- **Size** – The number of assets downloaded when navigating to the page client-side. The size for each route only includes its dependencies.
|
||||
- **First Load JS** – The number of assets downloaded when visiting the page from the server. The amount of JS shared by all is shown as a separate metric.
|
||||
|
||||
The first load is indicated by green, yellow, or red. Aim for green for performant applications.
|
||||
Both of these values are **compressed with gzip**. The first load is indicated by green, yellow, or red. Aim for green for performant applications.
|
||||
|
||||
You can enable production profiling for React with the `--profile` flag in `next build`. This requires [Next.js 9.5](https://nextjs.org/blog/next-9-5):
|
||||
|
||||
|
|
Loading…
Reference in a new issue