Page Weight
What is page weight?
Page weight refers to the byte size of a web page. As itβs no longer 1994, a web page is rarely only the HTML of the URL viewed in a browserβs address bar. Rather, a web page as viewed and rendered in a browser uses specific elements and assets.
This is why page weight is inclusive of all assets used to create the page. These include:
- The HTML that makes up the page itself
- Images and other media (video, audio, etc) embedded into the page
- Cascading Style Sheets (CSS) used for styling the page
- JavaScript to provide interactivity
- Third-Party resource containing one or more of the above.
Status Quo
Development
JavaScript Bloat
JavaScript Bloat in 2024 @ tonsky.me
What to do?
Reduce size of a web application
Why your website should be under 14kB in size | endtimes.dev