3 ms·
“Avoid unnecessary JavaScript, plugins and bloat, and make your site easy-to-use.” If only web developers would follow this advice...
by Crash0v3rid3 5y ago
“Avoid unnecessary JavaScript, plugins and bloat, and make your site easy-to-use.”
If only web developers would follow this advice...
- spicybright 5y agoIf there's ever free CPU cycles, you bet devs will squander it.
- JeanMarcS 5y agoExactly. If website haven’t been so bloated in the first place, no one would have believed the AMP propaganda
- huskyr 5y agoI've seen it happen more than once that web devs create a website that's very performant, only to be maimed and slowed down to a crawl by the marketing department's trackers and ads...
- rchaud 5y agoHilarious advice considering Google's own non-adherence to it. Opening Gmail today is slower than when I was opening it on IE6 in 2004.
- Sohcahtoa82 5y agoThis is the thing that gets me. The criticisms of AMP regarding how evil Google has been with it are all valid. But to the average user that doesn't care (Remember, HN users are anything but average!), AMP is an absolute godsend. Normally when I view a news article on mobile, it's plagued with the scroll jumping around as things load, obnoxious controls, frequent freezing, and just overall a terrible experience. AMP for the most part fixed all that. Pages load in only a second or two, and once they've loaded, they're smooth to scroll though and STAY smooth. I don't do web development (Professionally anyways, I've got a couple small <3K LOC pet projects), so I don't understand why the current world is such total garbage. I just went to a few news sites, and the front pages sent me anywhere from 3.5 to 6 MB of JavaScript, and that's even with my ad blocker disabled. And then some of them started sending me even more once I started scrolling. There's no reason for all this bloat. It does not take 3.5 MB of JavaScript to load content asynchronously and create some menus. And that's minified JavaScript. So yeah...AMP is here to stay, and the users are grateful.