Live data from Hacker News

Bloated

fabiensanglard.net

31–40 of 86 posts

Re: Bloated

#31
Lighthouse (now the Chrome dev tools "audits" tab) makes it really easy to trim down your site to the bare minimum. I've using on my personal blog, it's actually quite fun to work within constraints :)

Re: Bloated

#32
post #19

With regards to the "usually a news site" part, somebody put me onto CNN's "lite" page the other day, and it's honestly a freaking joy to use. http://lite.cnn.com/en On the other hand, I think there's definitely a case to be made for rich, application-like presentation of content, when it enhances the delivery of information . For instance: http://www.r2d3.us/visual-intro-to-machine-learning-part-1/ The problem is th…

>somebody put me onto CNN's "lite" page the other day, and it's honestly a freaking joy to use.

That's neat, but I think having this with some lightweight, web-optimized static images would make this better without being detrimental to lightness.

Sometimes a picture does say a thousand words. A photograph of a person being interviewed is something that adds a lot to an article. Plus there's the whole photojournalism aspect that's lost in only keeping text.

It's not the images, per se, that make heavy pages heavy, after all. It's tons of JS that pulls in FSM knows what.

Re: Bloated

#33
If people actually cared, websites would be lighter. But they don't.

Yes, this community here does care, much like the experienced woodworker who nods approvingly when he sees .

Even in cases where people might agree that lighter pages are preferable, it's just not a priority.

I know that might appear wrongheaded. But I assure you there are dozens of things you do every day that would make a subject matter expert's hairs fall out: that's not how you're supposed to brush your teeth ... you have to wait for the engine to cool before measuring oil ...

...and, closer to home: websites should be accessible to people with impaired vision, among other things. This rant, however, scores rather low. It might seem trivial, but not adding an alt description to explain the image joke can make people feel excluded.

Re: Bloated

#34
I am dreaming of a solution to bloat where all mainstream browsers would be throttling per-tab CPU/memory/bandwith usage to Pentium III-on-DSL-circa-2001 levels by default.

(The "full speed" option should be there to keep power user from switching, but it should not be obvious to, say, 50% of users).

This should be pushed as a feature: now your browser helps make your computer work faster; any slowness in page loading is to be blamed on the websites.

This will not affects sites like Hackernews, but will bring a lot of websites to a standstill - and will force them to slim down.

Re: Bloated

#35
post #26
post #16

Earlier quoted context omitted.

You can use the HTML5 element to add a fallback jpeg for all browsers that don't currently support Webp

Even better: you can let your image server check the accepted formats in the request header and send webp content transparently instead of jpg. Then you don't have to change your markup at all. Browser's don't really care about file extensions. https://github.com/uhop/grunt-tight-sprite/wiki/Recipe:-serv...

Oh. Thanks! I didn't know that was possible

Re: Bloated

#36
post #32
post #19

With regards to the "usually a news site" part, somebody put me onto CNN's "lite" page the other day, and it's honestly a freaking joy to use. http://lite.cnn.com/en On the other hand, I think there's definitely a case to be made for rich, application-like presentation of content, when it enhances the delivery of information . For instance: http://www.r2d3.us/visual-intro-to-machine-learning-part-1/ The problem is th…

>somebody put me onto CNN's "lite" page the other day, and it's honestly a freaking joy to use. That's neat, but I think having this with some lightweight, web-optimized static images would make this better without being detrimental to lightness. Sometimes a picture does say a thousand words. A photograph of a person being interviewed is something that adds a lot to an article. Plus there's the whole photojournalism…

A few images and some tasteful CSS could turn the light page into something fairly respectable looking.

Consider e.g. https://web.archive.org/web/19990208015258/http://www.nytime...

Re: Bloated

#37
post #34

I am dreaming of a solution to bloat where all mainstream browsers would be throttling per-tab CPU/memory/bandwith usage to Pentium III-on-DSL-circa-2001 levels by default. (The "full speed" option should be there to keep power user from switching, but it should not be obvious to, say, 50% of users). This should be pushed as a feature : now your browser helps make your computer work faster; any slowness in page loadi…

I've always wanted something similar as a devtool. I can throttle a pages bandwidth in chrome, but I can't easily put limits on how much CPU time it is allocated, and I can't constrain its memory usage or simulate swapping to disk.

Most designers and web developers chuck their stuff together on a brand new 27" iMac and it runs (and looks like) like trash on a computer an average person would own.

Re: Bloated

#38
post #34

I am dreaming of a solution to bloat where all mainstream browsers would be throttling per-tab CPU/memory/bandwith usage to Pentium III-on-DSL-circa-2001 levels by default. (The "full speed" option should be there to keep power user from switching, but it should not be obvious to, say, 50% of users). This should be pushed as a feature : now your browser helps make your computer work faster; any slowness in page loadi…

I've always wanted something similar as a devtool. I can throttle a pages bandwidth in chrome, but I can't easily put limits on how much CPU time it is allocated, and I can't constrain its memory usage or simulate swapping to disk. Most designers and web developers chuck their stuff together on a brand new 27" iMac and it runs (and looks like) like trash on a computer an average person would own.

Chrome devtools now has CPU performance throttling. Go to the performance panel and click the red gear in the top right. There's both network and CPU throttling options.

Re: Bloated

#39
post #38

Earlier quoted context omitted.

I've always wanted something similar as a devtool. I can throttle a pages bandwidth in chrome, but I can't easily put limits on how much CPU time it is allocated, and I can't constrain its memory usage or simulate swapping to disk. Most designers and web developers chuck their stuff together on a brand new 27" iMac and it runs (and looks like) like trash on a computer an average person would own.

Chrome devtools now has CPU performance throttling. Go to the performance panel and click the red gear in the top right. There's both network and CPU throttling options.

I'll be making heavy use of that, its a shame its a relative slowdown though. I realise throttling consistently down to an absolute performance level would be difficult to implement, but it would be handy.

Re: Bloated

#40
@fabien thank you so much for this. I was half-expecting one of your usual dissection of the architecture, but I dont want anythibg coming between you and the release of your Doom book, which I plan on buying at least 2 copies.
Post reply on HN