HTTP Archive’s annual
state of the web report
We will peel back the layers of web pages, and see what it is that constitutes a page's weight at the possible detriment of the end user: you, I, us.
18. Page Weight
median web page transfer size
is the most popular image format and also the largest by size (median 20 KB)
Using HTTP compression makes a website load faster and therefore guarantees a better user experience. But what is the status quo on web pages?
of HTTP responses are delivered with no text-based compression.
for different content types
It is surprising that while all those content types would profit from compression, the range of percentages varies widely.
We will primarily be discussing caching within web browsers, as opposed to caching at the origin server or in a CDN.
of responses across all HTTP(S) requests are considered cacheable.
of resources served on the web have a cache TTL that could be considered too short compared to its content age.
Cache as much as you can for as long as you can!
Let's take a look at the most predominant resource hints supported by most browsers and analyze the 2020 trends.
21. Resource Hints
Popularity of resource
percent of pages using the new Native Lazy Loading API after its first year.
the most preload hints on
a single page.
This chapter reviews the current state of HTTP/2 and gQUIC deployment. It explores how well some of the newer features of the protocol, such as prioritization and server push, have been adopted.
of requests use HTTP/2.
The median number of connections per page on desktop in 2016 vs. 2020.
The majority of HTTP/2 sites are served by Nginx, Cloudflare and Apache.