Skip to content

Instantly share code, notes, and snippets.

@zcorpan
Created September 9, 2021 13:46
Show Gist options
  • Save zcorpan/f0e6bd9b516a295cb1cc0ca1169c3850 to your computer and use it in GitHub Desktop.
Save zcorpan/f0e6bd9b516a295cb1cc0ca1169c3850 to your computer and use it in GitHub Desktop.
Compare gzip compression of omitting spaces between attributes (see https://twitter.com/j9t/status/1435910221550002179 )
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,minimum-scale=1,width=device-width"><meta name=description content="I’m Jens Oliver Meiert, and I’m an engineering manager and author. I’ve worked for a variety of companies, but one of my most important stations has been Google; I’ve written 16 books and booklets; and I’ve at some point traveled the world solo for one and a half years. Get to know me on meiert.com."><meta name=twitter:card content=summary><meta name=twitter:title content="Jens Oliver Meiert · Engineering Manager and Author · HTML and CSS Optimization"><meta name=twitter:description content="I’m Jens Oliver Meiert, and I’m an engineering manager and author. I’ve worked for a variety of companies, but one of my most important stations has been Google; I’ve written 16 books and booklets; and I’ve at some point traveled the world solo for one and a half years. Get to know me on meiert.com."><meta name=twitter:image content="https://d3rdtowr0c5lpf.cloudfront.net/media/logo-social.png"><meta property=og:image content="https://d3rdtowr0c5lpf.cloudfront.net/media/logo-social.png"><title>Jens Oliver Meiert · Engineering Manager and Author · HTML and CSS Optimization</title><link rel=stylesheet href=https://d3rdtowr0c5lpf.cloudfront.net/setup/default.min.css><link rel=alternate href=/en/feed/ type=application/rss+xml title="All blog posts"><link rel=prerender href=/><body><h1><img src=https://d3rdtowr0c5lpf.cloudfront.net/media/logo.svg alt="Jens Oliver Meiert"></h1><ul class=nav><li>Home<li><a href=/en/blog/archive/>Archive</a><li><a href=/en/biography/>Biography</a><li><a href=/en/contact/>Contact</a></ul><ul class="nav aux"><li><a href="https://www.google.com/cse/home?cx=007435340685329731950:uo6twvdbp_m" rel=search id=search-aux>Search</a><li><a href=/ rel=alternate>Deutsch</a></ul><form action=https://www.google.com/cse id=search><fieldset><legend><label for=q>Search</label></legend><input type=hidden name=cx value=007435340685329731950:uo6twvdbp_m><input name=q id=q required><input type=submit value=Search class=button></fieldset></form><div class="promo spotlight">New: <a href=/en/blog/upgrade-your-html-3/><cite>Upgrade Your HTML III</cite>.</a> Available at <a href="https://www.amazon.com/dp/B094VPYQPM/?tag=j9t-21-20">Amazon</a>, <a href="https://books.apple.com/us/book/upgrade-your-html-iii/id1570962053?ls=1">Apple Books</a>, <a href=https://www.kobo.com/us/en/ebook/upgrade-your-html-iii>Kobo</a>, <a href="https://play.google.com/store/books/details?id=YvAtEAAAQBAJ">Google Play Books</a>, and&nbsp;<a href=https://leanpub.com/upgrade-your-html-3>Leanpub</a>.</div><div id=content><div id=col-1><h2>Jens Oliver Meiert</h2><p>Articles on the craft of web development, particularly on HTML and CSS&nbsp;optimization.<div id=index>
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta content="initial-scale=1,minimum-scale=1,width=device-width"name=viewport><meta content="I’m Jens Oliver Meiert, and I’m an engineering manager and author. I’ve worked for a variety of companies, but one of my most important stations has been Google; I’ve written 16 books and booklets; and I’ve at some point traveled the world solo for one and a half years. Get to know me on meiert.com."name=description><meta content=summary name=twitter:card><meta content="Jens Oliver Meiert · Engineering Manager and Author · HTML and CSS Optimization" name=twitter:title><meta content="I’m Jens Oliver Meiert, and I’m an engineering manager and author. I’ve worked for a variety of companies, but one of my most important stations has been Google; I’ve written 16 books and booklets; and I’ve at some point traveled the world solo for one and a half years. Get to know me on meiert.com."name=twitter:description><meta content="https://d3rdtowr0c5lpf.cloudfront.net/media/logo-social.png"name=twitter:image><meta content="https://d3rdtowr0c5lpf.cloudfront.net/media/logo-social.png"property=og:image><title>Jens Oliver Meiert · Engineering Manager and Author · HTML and CSS Optimization</title><link rel=stylesheet href=https://d3rdtowr0c5lpf.cloudfront.net/setup/default.min.css><link title="All blog posts"rel=alternate href=/en/feed/ type=application/rss+xml><link rel=prerender href=/><body><h1><img alt="Jens Oliver Meiert"src=https://d3rdtowr0c5lpf.cloudfront.net/media/logo.svg></h1><ul class=nav><li>Home<li><a href=/en/blog/archive/>Archive</a><li><a href=/en/biography/>Biography</a><li><a href=/en/contact/>Contact</a></ul><ul class="nav aux"><li><a href="https://www.google.com/cse/home?cx=007435340685329731950:uo6twvdbp_m"rel=search id=search-aux>Search</a><li><a href=/ rel=alternate>Deutsch</a></ul><form action=https://www.google.com/cse id=search><fieldset><legend><label for=q>Search</label></legend><input type=hidden name=cx value=007435340685329731950:uo6twvdbp_m><input name=q id=q required><input type=submit value=Search class=button></fieldset></form><div class="promo spotlight">New: <a href=/en/blog/upgrade-your-html-3/><cite>Upgrade Your HTML III</cite>.</a> Available at <a href="https://www.amazon.com/dp/B094VPYQPM/?tag=j9t-21-20">Amazon</a>, <a href="https://books.apple.com/us/book/upgrade-your-html-iii/id1570962053?ls=1">Apple Books</a>, <a href=https://www.kobo.com/us/en/ebook/upgrade-your-html-iii>Kobo</a>, <a href="https://play.google.com/store/books/details?id=YvAtEAAAQBAJ">Google Play Books</a>, and&nbsp;<a href=https://leanpub.com/upgrade-your-html-3>Leanpub</a>.</div><div id=content><div id=col-1><h2>Jens Oliver Meiert</h2><p>Articles on the craft of web development, particularly on HTML and CSS&nbsp;optimization.<div id=index>
@j9t
Copy link

j9t commented Sep 9, 2021

I love the fast setting up of an example!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment