6 ms·
Having just read The Website Obesity Crisis[0] I was instantly intrigued by the video loop at the top of this article, so fired up Chrome's network inspector.
by MattBearman 10y ago
Having just read The Website Obesity Crisis[0] I was instantly intrigued by the video loop at the top of this article, so fired up Chrome's network inspector.
Not only is it 6.7Mb, but it's sent using streaming (Status: 206 Partial Content), and for me at least, every time the video reaches the end, it's loaded again, and not from cache.
I didn't actually read the article, but according to Read-o-meter[1] it would take around 18 min, during which time the 15 second video would play 72 times, consuming 482MB of data!
0 - http://idlewords.com/talks/website_obesity.htm#crisis http://idlewords.com/talks/website_obesity.htm#crisis
1 - http://niram.org/read/ http://niram.org/read/
Edit: Ha, caught out by my own dev setup, ie: disable cache when dev tools is open. My bad, feel free to ignore everything I said :)
- RubyPinch 10y agodid you have caching disabled in your dev tools?
- pimlottc 10y agoBy default, caching is disabled whenever you have dev tools open.
- yoodenvranx 10y agoPerhaps HN and reddit should block every website with an average page size larger than 1-2 MB? That would give those sites some incentive to optimize their pages.
- jedberg 10y agoNot really. HN traffic isn't really enough for most of those sites to notice. I'm certain that the only people at Bloomberg who would notice would be the reporters (who participate here) but they would probably have little sway over the technology and advertising platform, which would lose a lot of money getting rid of their auto-playing videos.
- tehbeard 10y agoSeems to be loading from cache for me (chrome 50). Did you leave "disable cache" active in network inspector?
- MattBearman 10y agoThat I did, oops
- ZanyProgrammer 10y agoHow many HN threads get derailed by people complaining about the web site's css, etc? It's practically a trope by now.
- smcl 10y agoIf it was a "this site is 1.8MB and only a few paragraphs" comment then I'd agree - but if OP is correct (haven't personally verified) then that's a pretty valid and worthy comment IMO.
- wmeredith 10y agoThat's a feature, not a bug. Technical nitpicking is part of the HN brand in my opinion.
- kordless 10y agoThe amount of consumption usually equals the amount of resources available to consume.
- BinaryIdiot 10y ago> Edit: Ha, caught out by my own dev setup, ie: disable cache when dev tools is open. My bad, feel free to ignore everything I said :) I wouldn't feel too bad. Our homepage at Immuta originally had a background video near the top and when I was debugging something I looked at it and noticed it had downloaded 200MB from the server because it just kept looping over and over and re-downloading over and over while I had the web page open for a really long time. I practically freaked out, thought we were killing our bandwidth, etc. It took me probably at least an hour to realize that I had disable cache ticked =/