news.volyx.in

A 14kb page can load much faster than a 15kb page (endtimes.dev)

933 points by DitheringIdiot · 1477 days ago · 343 comments on HN

Article summary

The article discusses the importance of keeping website sizes under 14kB to improve loading times due to the TCP slow start algorithm. This algorithm starts by sending 10 TCP packets, and if a website can fit within this initial window, it can save visitors a significant amount of time. The article explains how this works and why it matters, especially for users with high latency connections. It also provides guidance on how to optimize website size and structure to take advantage of this phenomenon.

Main themes

  • TCP slow start algorithm
  • website optimization
  • loading times
  • web development
  • networking
  • HTTP/2
  • HTTPS
  • performance vs design

What commenters say

  • Some commenters appreciate the article's explanation of the TCP slow start algorithm and its implications for web development.
  • Others discuss the challenges of optimizing website size and the trade-offs between performance and design.
  • There is disagreement about the importance of keeping website sizes under 14kB, with some arguing it is not a significant factor in loading times.
  • The use of HTTPS and its impact on loading times is also debated, with some arguing it is unnecessary for static sites and others pointing out its security benefits.
  • Commenters also discuss the role of HTTP/2 and other technologies in mitigating the effects of TCP slow start.
  • Some argue that the focus on website size is misguided and that other factors, such as server configuration and network conditions, are more important.
  • The article's own website size is noted to be larger than the recommended 14kB, leading to some criticism and discussion of the challenges of putting the article's advice into practice.