Why your website should be under 14kB in size | endtimes.dev
What is surprising is that a 14kB page can load much faster than a 15kB page — maybe 612ms faster — while the difference between a 15kB and a 16kB page is trivial. This is because of the TCP slow start algorithm. This article will cover what that is, how it works, and why you should care. But first we'll quickly go over some of the basics. Transmission Control Protocol (TCP) is a way of using the Internet Protocol (IP) to send packets of data reliably — sometimes this is referred to as TCP/IP. When a browser requests your website (or an image or a stylesheet) it makes that request using HTTP. HTTP is built on top of TCP and a single HTTP request is usually made up of many TCP packets. On its own IP is just a system for sending packets of data from one location on the internet to another. IP doesn't have a way of checking if a packet has successfully arrived at its destination. When it comes to websites, knowing that all the data has arrived is important — otherwise we could end up with
Having a smaller website makes it load faster — that's not surprising. What is surprising is that a 14kB page can load much faster than a 15kB page — maybe 612ms faster — while the difference between a 15kB and a 16kB page is trivial. This is because of the TCP slow start algorithm. This article will cover what that is, how it works, and why you should care. But first we'll quickly go over some of the basics. What is TCP? # Transmission Control Protocol (TCP) is a way of using the Internet Protocol (IP) to send packets of data reliably — sometimes this is referred to as TCP/IP . When a browser
Explore this link on the map →saved by
related reading
- Populating the page: how browsers work - Performance | MDNdeveloper.mozilla.org
- How web bloat impacts users with slow connectionsdanluu.com
- This Page is Designed to Last: A Manifesto for Preserving Content on the Webjeffhuang.com
- Rediscovering the Small Web - Neustadt.frneustadt.fr
- This page weighs 15kb - macwright.commacwright.com
- The Law of Leaky Abstractions – Joel on Softwarejoelonsoftware.com
- The Internet explained from first principlesexplained-from-first-principles.com
- Crawling a billion web pages in just over 24 hoursandrewkchan.dev
- What happens when you type a URL into your browser? | Front-End Web & Mobileaws.amazon.com
- How to Build a Low-tech Website? | LOW←TECH MAGAZINEsolar.lowtechmagazine.com
- What is web performance? - Learn web development | MDNdeveloper.mozilla.org
- Production Twitter on One Machine? 100Gbps NICs and NVMe are fast - Tristan Humethume.ca