3 ms·
> From there, we get years of unoptimized, bloated websites made by people drawing pictures with HTML editors. One look at the source code for most popular sit
by acdha 10y ago
> From there, we get years of unoptimized, bloated websites made by people drawing pictures with HTML editors.
One look at the source code for most popular sites shows this isn't true – and that makes sense because when you look at the average sluggish site the bloat is mostly JavaScript rather than the HTML source.
What's actually happening is that a bunch of people are working hard on something which is important to them but not the user: advertising and analytics, followed by “social” sharing. Since those numbers are associated with revenue, they're directly seen as important whereas concerns about page-weight are more subtle and often an inadequate check on bloat until it gets really bad.
- Panino 10y ago> One look at the source code for most popular sites shows this isn't true Although I reject the idea that popular websites are representative of the web in general, let's investigate that anyway. Currently on the HN homepage: 1. Netflix blog post scores 73/100 and 85/100 on Google PageSpeed Insights. 2. Flickr post gets 67/100 and 83/100 on PageSpeed. 3. Google's own post gets 61/100 and 79/100 -- oops! 4. gatech.edu gets 66/100 and 82/100. All bad, decided to stop there. Even many/most popular pages are bad (careful reading shows that I didn't say all) . This jives with what I've seen as someone who looks at Google PageSpeed Insights A LOT. > average sluggish site the bloat is mostly JavaScript rather than the HTML source Someone "drawing pictures with HTML editors" as I said is still going to add JavaScript, images, css, etc. They'll also specifically add tons of unoptimized images that aren't even losslessly optimized, let alone put through manual lossy optimizations. I bet the average webmaster can't even define lossless and lossy. FWIW I think AMP is just awful. In contrast, Google PageSpeed Insights is amazing. I adore the PageSpeed website and recommend it wholeheartedly. It's been a huge help to me. The solution to this mess is competition, not centralization. Make speed a major ranking signal and let the ecosystem say goodbye to those who can't hang. https://developers.google.com/speed/pagespeed/insights/ https://developers.google.com/speed/pagespeed/insights/