Created
May 29, 2017 09:22
-
-
Save lukechilds/041a555bd3202cc68d081288346dde4c to your computer and use it in GitHub Desktop.
UTF-8 vs gzip vs gzip+Base64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ wget todomvc.com | |
--2017-05-29 16:13:28-- http://todomvc.com/ | |
Resolving todomvc.com... 192.30.252.154, 192.30.252.153 | |
Connecting to todomvc.com|192.30.252.154|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 254815 (249K) [text/html] | |
Saving to: 'index.html' | |
index.html 100%[===========================>] 248.84K 215KB/s in 1.2s | |
2017-05-29 16:13:31 (215 KB/s) - 'index.html' saved [254815/254815] | |
$ cat index.html | gzip > index.html.gz | |
$ cat index.html.gz | base64 > index.html.gz.b64 | |
$ ls -lah index.html* | |
-rw-r--r-- 1 lukechilds staff 249K 14 Apr 12:29 index.html | |
-rw-r--r-- 1 lukechilds staff 63K 29 May 16:13 index.html.gz | |
-rw-r--r-- 1 lukechilds staff 84K 29 May 16:13 index.html.gz.b64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment