Skip to content

Commit

Permalink
next@12.2.4 (github#29731)
Browse files Browse the repository at this point in the history
* next@12.2.4

* suppress 'Large Page Data'

* Update next.config.js

Co-authored-by: Rachael Sewell <rachmari@github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>
  • Loading branch information
peterbe and rachmari authored Aug 9, 2022
1 parent 2c7ab86 commit 16fcaa7
Show file tree
Hide file tree
Showing 3 changed files with 363 additions and 76 deletions.
9 changes: 9 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,13 @@ export default {
// This causes problems with serving stale content, since upon revalidating
// the CDN marks the cached content as "fresh".
generateEtags: false,

experimental: {
// The output of our getServerSideProps() return large chunks of
// data because it contains our rendered Markdown.
// The default, for a "Large Page Data" warning is 128KB
// but many of our pages are much larger.
// The warning is: https://nextjs.org/docs/messages/large-page-data
largePageDataBytes: 1024 * 1024, // 1 MB
},
}
Loading

0 comments on commit 16fcaa7

Please sign in to comment.