Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement "gatsby-plugin-netlify" configuration
Integrated gatsby-plugin-netlify like documented in the "Hosting & Continuous Deployment"”" design concept. It allows to automatically generate a `_headers` file and a `_redirects` file at the root of the public folder to configure HTTP headers (3) and redirects (4) on Netlify. One of the main advantages is that it also enables HTTP/2 server push of critical Gatsby assets through the `Link` headers. By default, the plugin adds HTTP/2 assets to server push the critical Gatsby scripts (ones that have the `preload` attribute already) and also adds some basic security and caching headers. References: (1) https://www.npmjs.com/package/gatsby-plugin-netlify (2) #46 (3) https://www.netlify.com/docs/headers-and-basic-auth (4) https://www.netlify.com/docs/redirects Associated epic: GH-46 GH-89
- Loading branch information