10x Performance Increases: Optimizing a Static Siteby@jonluca
34,128 reads
34,128 reads

10x Performance Increases: Optimizing a Static Site

by JonLuca De Caro6mMarch 16th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

A couple months ago, I was traveling outside of the U.S. and wanted to show a friend a link on my personal (static) site. I tried navigating to my website, but it took much longer than I anticipated. There’s absolutely nothing dynamic about it — it has animations and some responsive design, but the content always stays the same. I was pretty appalled at the results, ~4s to DOMContentLoaded, and 6.8s for a full page load. There were 20 requests for a <em>static site</em>, with 1mb of total data transferred. I was accustomed to my 1Gb/s, low latency <a href="https://hackernoon.com/tagged/internet" target="_blank">internet</a> in Los Angeles connecting to my server in San Francisco, which made this monstrosity seem lightning fast. In Italy, at 8mb/s, it was a different picture entirely.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - 10x Performance Increases: Optimizing a Static Site
JonLuca De Caro HackerNoon profile picture
JonLuca De Caro

JonLuca De Caro

@jonluca

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite