Are your deploy times longer than expected? Many factors affect deployment speed. This article introduces a tactic that may reduce the time it takes to deploy to Netlify.
Use gatsby-plugin-remove-fingerprints
Link: https://www.npmjs.com/package/gatsby-plugin-remove-fingerprints
As the plugin's maintainers describe:
"Gatsby's default behaviour is to include a [contenthash] for all built JavaScript files. This is useful for the majority of cases, but services like Netlify recommend building files without a hash. This plugin will eliminate the hash from built JavaScript files.
To learn more about the reasons why this is important you can read Netlify's staff response to a Gatsby issue, Netlify and cache busting urls."
Comments
0 comments
Please sign in to leave a comment.