Further Speed Up Your Jekyll Blog by Compressing the HTML

Use Compress HTML Liquid plugin.

The size difference for this blog having ls | wc -l => 188 entries many of which are not too large was ~2Mb of generated HTML. Although most older posts are doubled to support the older /YYYY/MM/TITLE slug format. So roughly 350 posts and pages.

The setup literally takes about 30 seconds…

  1. download the plugin
  2. copy to your _layouts folder
  3. in your main layout add a frontmatter
layout: compress

And you are done.

For more info visit the plugin’s documentation page