Typical JavaScript Bundle Sizes of Popular Websites in 2024
In 2024, a survey of popular websites shows that uncompressed JavaScript bundle sizes vary widely—from as small as 0.2 MB for Wikipedia to over 12 MB for sites like YouTube and Booking.com—highlighting the importance of performance awareness in modern frontend development.
In 2024, what should be the average size of a website's JavaScript files? 1 MB, 5 MB, 10 MB, or even larger? Modern frontend technologies and powerful devices have made many sites download more than 10 MB of JavaScript, but performance still matters.
Open‑source developer Nikita Prokopov collected uncompressed JavaScript bundle sizes from a variety of well‑known sites, revealing surprising results.
Static‑page‑focused sites
Wikipedia : 0.2 MB
Linear : 3 MB
Zoom : 6 MB
Vercel : 6 MB
Gitlab : 13 MB
Medium : 3 MB
Quora : 4.5 MB
Pinterest : 10 MB
Search‑function‑focused sites
StackOverflow : 3.5 MB
NPM : 4 MB
Airbnb : 7 MB
Google : 9 MB
Single‑application sites with simple interactions
Google Translate : 2.5 MB
ChatGPT : 7 MB
Video / multimedia sites
Loom : 7 MB
YouTube : 12 MB
Pornhub : 1.4 MB
The smallest JavaScript bundle belongs to Wikipedia (0.2 MB), followed by Pornhub (1.4 MB). Pornhub claims 130 million daily visitors and emphasizes performance, using primarily native JavaScript. In contrast, the ubiquitous jQuery library is only 0.1 MB.
Overall, the data shows a wide range of bundle sizes across different types of sites, reminding developers to monitor and optimize JavaScript payloads for better user experience.
For more details, see the original article: https://tonsky.me/blog/js-bloat/ .
Java Architect Essentials
Committed to sharing quality articles and tutorials to help Java programmers progress from junior to mid-level to senior architect. We curate high-quality learning resources, interview questions, videos, and projects from across the internet to help you systematically improve your Java architecture skills. Follow and reply '1024' to get Java programming resources. Learn together, grow together.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.