gatsby-plugin-netlify: mergeLinkHeaders: true resulting in huge _headers files that fail builds
See original GitHub issueSummary
Netlify support here 👋🏻 We’ve seen several customers in our helpdesk with large builds that time out and fail for the same reason: a very big (> 15MB) _headers file that was generated by gatsby-plugin-netlify
. When they toggle mergeLinkHeaders
to false
, this resolves their issue. It seems like there be a documentation gap here about what that option does.
Here are the current docs on the plugin: https://www.gatsbyjs.com/plugins/gatsby-plugin-netlify/
Motivation
Less frustration for Gatsby developers who are deploying large sites on Netlify
Let me know if we can provide any other info to help!
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Gatsby 5 upgrade error - Netlify Support Forums
I'm getting a build error on Netlify that I do not get in my local environment. I've added NODE_VERSION as an environment variable...
Read more >gatsby-plugin-netlify-headers
Generates a _headers file at the root of the public folder, to configure HTTP headers on netlify. Notably, you can immediately enable HTTP/2...
Read more >my gatsby site on netlify doesnt get refreshed on update
my gatsby site on netlify doesnt get refreshed on update ... i am using the gatsby netlify plugin like this: resolve: `gatsby-plugin-netlify`, ...
Read more >5 useful Gatsby plugins you might don't know - okaycloud
Plugin 3: This is another sub-plugin which goes under the gatsby-transformer-remark plugin. With Gatsby and Netlify CMS, it is quite easy to ...
Read more >CSP Headers for Gatsby project on Netlify | Gabriel Koo
the gatsby-plugin-csp generates the CSP hashes, build the CSP string and inject it as <meta/> in each generated HTML file, in the ./public ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kaganjd Thanks for the heads up, I just needed to merge master! The update to the README is now merged.
Hey @wardpeet and @kaganjd,
I’m new here, and I’d like to grab this one. Would that be okay?