News for hackers. Stuff that matters.
Re:The Website Obesity Crisis (2015) by WA on Monday May 09, 2016 @09:41AM (#11659731)
I just got a text this morning from my phone company: "Your exceeded your monthly 500MB limit". It's probably not a crisis, but it has some quite real economic consequences if I have to download 2MB worth of nothing whenever I click a link.

Yes, Adblockers to the rescue. But you know, Apple doesn't support Adblockers on an iPhone 5 for whatever stupid reason.

Re:The Website Obesity Crisis (2015) by oolongCat on Monday May 09, 2016 @10:00AM (#11659874)
See the main problem then, is not a problem with if websites are obese or paper thin, the question is are websites and our browsers doing a good job of using already existing features for helping users.

I think we should be complaining about developers and admins who doesn't enable gzipping, we should be angry with the fact some websites don't even bother setting headers to cache static resources. We should not be throwing out hands up in air screaming crisis because our web is becoming more useful.

Re:The Website Obesity Crisis (2015) by exodust on Monday May 09, 2016 @11:44AM (#11660671)
"Useful" doesn't need to mean bloated. You seem to miss the point that many websites these days are bloated even basic articles. We don't need a V8 engine and oversize tyres to go buy milk and bread.

You're forgetting that mobile devices quickly run out of cache memory. This includes iPads. You might visit a news site once every few days, but quite often the same resources need downloading again and again because your iPad has not kept them in cache memory because it ran out already. Desktop browsers have a lot more capacity to keep web resources cached.

Not only that, but RAM memory is also limited on mobile devices. Forget about expecting multiple websites to remain in memory across numerous tabs. My iPad3 can pretty much handle only one tab open. If I switch tabs to another website, then switch back, the whole page loads again. A less bloated web would help this issue.

And then there's accessibility for low-speed areas. Did you even read the article?

Re:The Website Obesity Crisis (2015) by tracker1 on Monday May 09, 2016 @01:55PM (#11661733)
Most static servers enable If-Modified-Since header, as well as other detections... Cache sizes, specifically on mobile are very small, and ineffective... it's more often than not, a very small http request to recheck if a cached file is still valid.

Optimizing images is a pretty huge thing, as is enabling gz compression on the streams... these two alone add up to far more saving than setting cache headers, not that they can't or shouldn't be set.

Re:The Website Obesity Crisis (2015) by gremy0 on Monday May 09, 2016 @10:10AM (#11659944)
That's a problem with your phone company not websites, 500MB really isn't enough for using the modern web.

Also since when exactly did websites have a mandate to economise to the scale of mobile data? It's always been edge case unless you are specifically targeting that.

Re:The Website Obesity Crisis (2015) by oarsinsync on Monday May 09, 2016 @10:44AM (#11660190)
> Also since when exactly did websites have a mandate to economise to the scale of mobile data? It's always been edge case unless you are specifically targeting that.

Trends towards mobile-first have been a thing for a while. Especially in developing countries where mobile users outweigh desktop users.

Targeting desktop is slowly becoming the edge case for anything targeting a mass audience. Look at a lot of the recent high-value tech companies. Do Uber/Snapchat/Whatsapp/Instagram target desktop or mobile first?

Where are users in general spending the majority of their time? On a desktop/laptop, or on a phone/tablet?

Re:The Website Obesity Crisis (2015) by gremy0 on Monday May 09, 2016 @11:00AM (#11660299)
Mobile-first is designing for a mobile interface. I quiet clearly stated "economise to the scale of mobile data". That is, supporting users on heavy mobile data restrictions.

Users, regardless of device used, are primarily on wifi and that is what is designed for. In modern countries most users don't really have data restrictions low enough to come into effect through websites so going into the future this will not be a problem.

Re:The Website Obesity Crisis (2015) by germanier on Monday May 09, 2016 @01:31PM (#11661534)
Which countries would that be? As far as I know there are strict data restrictions basically everywhere (apart from legacy plans). You get about 10 of those "modern" websites a day with 1 GB which is for example what US's Sprint "Unlimited" plan offers you.
Re:The Website Obesity Crisis (2015) by gremy0 on Monday May 09, 2016 @02:16PM (#11661904)
Most of Asia and Europe. The American plans are so expensive and restrictive they don't reflect the current state of the technology at all. That's what's causing all this 'crisis' scaremongering. 1GB is a fairly basic plan over here and for that you can expect to have to watch your usage.
Re:The Website Obesity Crisis (2015) by oarsinsync on Tuesday May 10, 2016 @04:26AM (#11665856)
I was in Hong Kong last year and I was looking at limited data plans then.

I'm in the UK and the only network offering unlimited data is so slow you'll struggle to use more than 3GB in a month.

I've since given in and just paying through the nose for 16GB/month, so that I can not have to watch my data usage. (Un?)fortunately, the network is so fast I've found my data usage is already around 9-10GB/month, so I'm going to have to start watching that again soon.

Re:The Website Obesity Crisis (2015) by germanier on Monday May 09, 2016 @02:38PM (#11662053)
Then please tell that my German and French mobile providers. While cheaper than their US counterparts I still have to watch my usage. China also has basically the same prices (not adjusted for income parity!). I know that especially north and east of Germany the plans are significantly less restrictive but that's far from universal.

Apart from laziness there is no reason for those websites to be so large.

Re:The Website Obesity Crisis (2015) by gremy0 on Monday May 09, 2016 @03:22PM (#11662410)
Apart from greediness there is no reason for data to be so expensive...

Sure there's always room for an amount of optimization and good practice but it's insane to rely on that instead of fixing the problem. The growth in page size has been fairly linear and predictable.

The real headline here should be "German and US carriers cannot keep up with natural growth in technology"

Re:The Website Obesity Crisis (2015) by WA on Tuesday May 10, 2016 @04:09AM (#11665814)
So tell me: Out of a 2 MB website with 300 HTTP requests, what do you usually get as a visitor?

You make it sound as if the natural growth in technology is what makes these websites huge. I run a web app, which is uptodate technology-wise. It has a responsive design with @2x images and @3x. It uses JS in a sensible manner. It's fast and easy to use. Top notch technology. Yet, the average request sums up to 200KB. And 60KB of that is a custom font.

This is not about the natural growth in technology, it is about 50-70% of the 2MB are entirely worthless to the user, because they are usually Ads, trackers, wrongly compressed images (ImageOptim does wonders here) and using 10 JS frameworks in parallel.

It's almost as if you're saying: See, img tags now support the width attribute, so let's upload a 10MB photo and just tell the browser to resize it to 100px, because technology.

Re:The Website Obesity Crisis (2015) by gremy0 on Tuesday May 10, 2016 @08:34AM (#11666724)
I'm not picking through all that hyperbole and condemnation of every dev that isn't you to try a maintain a reasonable argument.

So I go with a "those in glass houses" approach:

The only reason I can't see the terrible quality of your website's photos on my phone is that all the content is so damn small and zoomed out I can barely make out the text never-mind the picture pixels. I don't really want to zoom in because the shade of lime green you've chosen is so jarring it'll likely give me a migraine if it fills the screen.

Re:The Website Obesity Crisis (2015) by WA on Tuesday May 10, 2016 @09:10AM (#11666868)
If you're referring to the domain of my email in my profile: This isn't my website. It's just an email provider.
Re:The Website Obesity Crisis (2015) by gremy0 on Tuesday May 10, 2016 @09:33AM (#11666986)
Well what's your website then and I'll judge it. Either that or refine your argument.
Re:The Website Obesity Crisis (2015) by WA on Monday May 09, 2016 @10:25AM (#11660056)
500 MB could be enough. As I said, if I need a bigger plan, unoptimized websites have economic consequences. I heard mobile-first is a thing. It doesn't seem too far stretched to assume that users and thus potential customers might be interested in fast-loading websites.

See, what this boils down to is this: People use Adblockers, because they're tired of all that shit that's consuming their bandwidth (at least on mobile). Content publishers complain about people using Adblockers. But they're not willing to get the technical side of their content consumption platform right in order to accommodate their very visitors. They cry foul but are part of the problem obviously.

Unfortunately, I don't get to see what links to avoid (size-wise) before I download all the bloat and waste my bandwidth.

Re:The Website Obesity Crisis (2015) by gremy0 on Monday May 09, 2016 @10:50AM (#11660233)
Yeah 500 MB could be enough if technology regressed (which it isn't going to). You're going to need a bigger plan regardless as 500 MB is nothing and mobile internet features are become more rich and ubiquitous.

The growth of website size has been fairly steady, if anything the growth has flattened over the last year or so. It is up to the infrastructure to keep up with that.

In the last year or two we've had the introduction 4G with 2-4 times the speed of 3G and you expect to have the same usage allowance?

Re:The Website Obesity Crisis (2015) by anteht on Monday May 09, 2016 @11:05AM (#11660336)
For people in the developed world with good technology infrastructure, yes. But it's also quite inconsiderate to tell people to upgrade their dataplan (which for some people might be a financial limit) instead of trying to think of better ways to reduce cruft and unnecessary data transfers.
Re:The Website Obesity Crisis (2015) by gremy0 on Monday May 09, 2016 @11:17AM (#11660440)
It's quiet inconsiderate to tell developers to optimize for outdated bandwidth caps (which for some may be extra time, cost etc that they don't have).

You should expect to have to increase you dataplan every few years (because technology) whether that cost is absorbed by you or your phone company is a conversation to have with them.

Re:The Website Obesity Crisis (2015) by CaptSpify on Monday May 09, 2016 @11:36AM (#11660597)
The problem is that devs are putting more effort into making websites bloated. They'd have more time if they got rid of cruft
Re:The Website Obesity Crisis (2015) by mirimir on Monday May 09, 2016 @11:29AM (#11660543)
But whatever, most of what 500MB isn't enough for is useless to users. So why should they pay more to get it?