logoalt Hacker News

Dweditlast Monday at 4:27 AM4 repliesview on HN

I looked at a CNN "lite" article, and it includes 560KB of stuff (lots and lots of CSS declarations) in addition to the actual 11KB of article content.


Replies

zamadatixlast Monday at 4:56 AM

While still wasteful, CSS is one of those things you can do astronomically wrong before it starts being noticeable. Case in point here: inlining 560 kb of CSS with the page and just sending it with the entire HTML file each time is only ~61 kb of actual network transfer to load the article (due to brotli encoding).

sva_last Monday at 5:37 AM

For me in Firefox it only loads the article's HTML (50-70kb) and the favicon (7kb).

Are you sure it isn't some addon you have?

show 3 replies
iberatorlast Monday at 6:33 AM

The point is that it would still work if you block JS, CSS and graphics.

Check it out in lynx for example

atoavlast Monday at 7:54 AM

Ever tried a TUI browser like lynx?