Great post, although I'm a little meh on lazy-loading images. I like when the whole page is finished loading the moment I think it's finished loading. But more to the point, lazy-loading can be a crutch just like AMP is, for solving problems that shouldn't exist, such as: your page is big & bloated. If you keep it small, there's no need for lazy-loading. But you have to limit the number of images, and optimize the on…
Yeah, please don't add lazy loading. - It breaks viewing the site with javascript disabled. - It prevents viewing the site offline (e.g. on an airplane) without first scrolling through the whole content while online. - Unless implemented perfectly it adds delays before content you have scrolled to becomes visible. Deciding when to load stuff should be the browser's job. Don't reimplement the browser in javascript.
How to fight back against Google AMP as a web user and a web developer
501–510 of 570 posts
Re: How to fight back against Google AMP as a web user and a web developer
#502If you run a NAS at home, you should also setup syncthing. It's replaces Google drive for your phone's camera, seemlessly.
Re: How to fight back against Google AMP as a web user and a web developer
#503Great post, although I'm a little meh on lazy-loading images. I like when the whole page is finished loading the moment I think it's finished loading. But more to the point, lazy-loading can be a crutch just like AMP is, for solving problems that shouldn't exist, such as: your page is big & bloated. If you keep it small, there's no need for lazy-loading. But you have to limit the number of images, and optimize the on…
Yeah, please don't add lazy loading. - It breaks viewing the site with javascript disabled. - It prevents viewing the site offline (e.g. on an airplane) without first scrolling through the whole content while online. - Unless implemented perfectly it adds delays before content you have scrolled to becomes visible. Deciding when to load stuff should be the browser's job. Don't reimplement the browser in javascript.
I'm genuinely surprised by how many apparently considerate websites like Wikipedia seem to completely ignore this consideration. I often don't have a working internet connection. Why shouldn't I be able to read the article I already loaded when on wifi? Why should I pay for mobile data when I tried to load a page on wifi?
Meaningful, content images should be loaded on a phone when using a non-metred connection promptly so that a user need not waste their metred connection just because they want to read an article on a bus - or a subway.
Breaking the website for the five geeks who disable javascript isn't really a valid consideration, in my view, despite the fact that I ran with disabled javascript for a long time.
But your final paragraph is very much true. Mobile UA authors should consider enabling lazy loading on metred connections and disabling it on non-metred connections by default.
Long term users of web browsers can probably remember in the days of 14.4k browsers, many people used the setting to disable loading images by default. A modern version of that setting should be restored.
Re: How to fight back against Google AMP as a web user and a web developer
#504Earlier quoted context omitted.
Yeah, please don't add lazy loading. - It breaks viewing the site with javascript disabled. - It prevents viewing the site offline (e.g. on an airplane) without first scrolling through the whole content while online. - Unless implemented perfectly it adds delays before content you have scrolled to becomes visible. Deciding when to load stuff should be the browser's job. Don't reimplement the browser in javascript.
I'd love to see a lazy loading idiom implemented in pure HTML. But I'm not holding my breath.
UAs could easily lazy load by default on metred connections.
Re: How to fight back against Google AMP as a web user and a web developer
#505Earlier quoted context omitted.
There's nothing wrong with it, I've been using it for ages.
Well, once a webpage has played audio there's a notification that hangs around till you restart the phone. That's probably better than the cost of running Chrome, though.
Re: How to fight back against Google AMP as a web user and a web developer
#506The most annoying thing for me, as a vision-impaired user, is that AMP pages disable zoom. I know that can be overridden in Chrome's accessibility settings, but it's a shitty practice that something like AMP shouldn't be promoting.
I think the idea is that you'll either use a screen reader or use the system zoom tool. Not defending it, but I can see the logic they used.
Re: How to fight back against Google AMP as a web user and a web developer
#507Earlier quoted context omitted.
I'd love to see a lazy loading idiom implemented in pure HTML. But I'm not holding my breath.
What's wrong with ? Maybe some kind of semantic purpose vs but you can imagine every website owner will think that their logo is graphical content and respectful UA authors will need to disregard the semantic attributes and try to guess based on the presence or absence of some kind of caption, for instance. UAs could easily lazy load by default on metred connections.
Re: How to fight back against Google AMP as a web user and a web developer
#508Earlier quoted context omitted.
How can anyone categorize AMP as evil? They are improving and leading. No one needs to use Google, they have alternatives. This is how things evolve. Someone else will create another amp alternative and things will change later. Netflix was #1, then Hulu, Disney, amazon video came. No one lasts forever, everyone needs to evolve and this exactly is what google is doing.
amp is a vehicle to a) turn web content owners to gig writers for google and b) push Signed HTTP Exchanges, a dangerous protocol on the web. I can't attribute stupidity to google because they re very smart, so it must be malice
Re: How to fight back against Google AMP as a web user and a web developer
#509I remember looking at the original HTML5 spec and going, there is no way lower power / low bandwidth / high latency devices will be able to handle this efficiently. Nevertheless, we moved fast and broke things, ratified the HTML5 spec and paved the cowpaths without a second thought to language or efficiency. Somewhere along the line, things came full circle. HTML was slow again, so we needed a new new way to efficien…
In what way is HTML5 is inherently slower than previous versions? Pages tend to be slow because of the tracking and adds addded to them as well as client-side "rendering" for static content. None of that is required by HTML5.
Re: How to fight back against Google AMP as a web user and a web developer
#510Earlier quoted context omitted.
Ram is cheap: https://www.amazon.com/slp/memory-ram-ddr4/rcnyvqomjbxu8pj
My time is not. 32Gb is a monstrous amount of RAM for a desktop, there's no reason reason for tabs to be randomly dying with memory issues.