Netlify plugins
Netlify's plugin library automates many manual processes and saves developers the effort of having to develop in-house solutions. This growing library includes many plugins. For example, one plugin can fetch and incorporate external resources such as RSS feeds. Another plugin can also generate a sitemap or even index the website content to create a search functionality.
HTML Minify
The plugin that we'll examine for the purpose of this book compresses the HTML, reducing the file size by removing unnecessary page or code contents, or substituting variable names with single-character replacements. This process is called minification.
We would like to Minify the HTML code as much as possible, so we could use Netlify's plugin called netlify-plugin-minify-html
to compress the file contents. When Gatsby builds the static pages, it minimizes the content of the HTML files.
The following is an example of how the readable source code would appear prior...