Open cesarvarela opened 2 years ago
It's funny that Google tells you that you have to "reduce the impact of third party code" while at the same time being the biggest offenders:
do as I say?
Not as I do. :)
I think Google wants us to migrate Analytics libraries, so maybe that would help?
For future reference, these are the generated chunks, the biggest one is the md editor, but should only be loaded with the editing forms, and even then, gzipped is around 200k which is not that bad. Everything else is smaller.
Not as I do. :)
I think Google wants us to migrate Analytics libraries, so maybe that would help?
I would try other things first, not sure if there is anything else as good as Google's
Google has a new library we are not using, that is the one they want us to use.
Nice tree map!
One thing related to this is loading less data on the page creator scripts and moving most of the graphql queries to the page/template static query. This is one of Gatsby's best practices and something we are doing "wrong": https://www.gatsbyjs.com/docs/how-to/performance/improving-build-performance/#query-only-needed-fields-in-createpages
Gatsby has been warning us from some time about it: