News for hackers. Stuff that matters.
Re:Web fonts, boy, I don't know by prodigal_erik on Thursday November 03, 2016 @03:05PM (#12866952)
> Would love an attribute on script and link tags that could be conditional based on connection speeds.

I can't help but think of Android's "battery saver" toggle, which leaves me wondering why there's a battery waster feature and why it's on by default.

Re:Web fonts, boy, I don't know by icebraining on Thursday November 03, 2016 @03:34PM (#12867208)
The opposite of saving is not wasting, it's spending. It's only a waste if you spend it badly.
Re:Web fonts, boy, I don't know by prodigal_erik on Friday November 04, 2016 @01:18PM (#12874220)
If the battery lasted a week I'd agree with you, but right now my phone happily risks leaving me unable to hail a ride home after happy hour.
Re:Web fonts, boy, I don't know by Spivak on Thursday November 03, 2016 @03:52PM (#12867348)
Sure, but if they made 'battery saver' the default and gave you a 'power boost' toggle would you even notice? When would you turn it on?
Re:Web fonts, boy, I don't know by bjt on Thursday November 03, 2016 @04:21PM (#12867585)
The screen would dim more aggressively and location-aware apps would be less accurate. Many users would be annoyed by this, though they might not know it was a result of the battery-saver setting.
Re:Web fonts, boy, I don't know by eterm on Thursday November 03, 2016 @04:27PM (#12867626)
If not pressing "power boost" meant that you didn't receive emails without your email app foregrounded, yes you'd notice.
Re:Web fonts, boy, I don't know by metellus on Thursday November 03, 2016 @04:45PM (#12867776)
When you turn battery saver on transition animations disappear (making everything feel less reponsive). The phone stops polling for updates as frequently. The screen dims. It's a noticeably worse experience because it does a lot to save battery. When I have plenty of battery or know that I'll be charging my phone soon I would much rather have all of those nice things than not. It's a tradeoff because the circumstances dictate how important saving battery is.
Re:Web fonts, boy, I don't know by angry-hacker on Thursday November 03, 2016 @05:11PM (#12867993)
At least my moto g becomes laggy. It's a trade off i guess. With battery saving taking calls is enough but no more.
Re:Web fonts, boy, I don't know by enraged_camel on Thursday November 03, 2016 @04:20PM (#12867572)
I think apps would just prompt you with "you need Power Boost mode for optimal experience with this app"
Re:Web fonts, boy, I don't know by marcosdumay on Thursday November 03, 2016 @04:27PM (#12867633)
That toggle disconnects the phone from any network, and only reconnects from time to time to update your apps.

You really don't want it on if you expect the phone to tell you when you have a new message.

Re:Web fonts, boy, I don't know by firasd on Thursday November 03, 2016 @03:10PM (#12867001)
Sometimes you want the richer resources though if you're on a better connection or the resources are cached rather than this being the first page load.

In my view we definitely need a "lazyload" attribute for script, link, and img elements.

I go into more detail about lazy loading for web fonts and images (and how I found that even resources in <body> can slow down stylesheets in <head>) here: https://hackernoon.com/dont-brake-for-fonts-3-web-performanc...

Re:Web fonts, boy, I don't know by Spivak on Thursday November 03, 2016 @03:18PM (#12867078)
Same with the "data saver" toggle, I turned it on when I first got my phone and haven't turned it off since.
Re:Web fonts, boy, I don't know by callalex on Thursday November 03, 2016 @05:34PM (#12868188)
That's different though. The tradeoff there is proxying all your internet traffic through Google servers.