4 ms·
Well yeah but the author is missing the point: these tools allow your site to load faster than the theoretical limit without them. AMP buys you Google's CDN an
by Spivak 8y ago
Well yeah but the author is missing the point: these tools allow your site to load faster than the theoretical limit without them.
AMP buys you Google's CDN and prefetching on Search.
And PWA buys you a 0 distance cache hit on your second visit, the ability to prefetch unvisited resources, and with the ability to update the cache in the background.
Not saying these aren't negligible on a 15MB site but they are tools for making an existing slow site appear faster which is what everyone who isn't a dev really wants.
- berbec 8y agoRight, but why is your site 15MB anyway?
- AlexCoventry 8y agoIt's a client-side neural net?
- dvtrn 8y agoon a 15MB site Good lord, friend. Why put your users through this to begin with?
- osrec 8y agoIf it's just a website, then I agree that is indeed excessive. If, however, it's 15mb of useful functionality (perhaps an app that lets you edit and encode video), then in my eyes, it's acceptable, and probably a good candidate to be a PWA. I know a lot of people hate the idea of doing everything in the browser, but seriously, it's the one ubiquitous platform that we have, which even competing entities have agreed to standardise. I personally think it will be the most popular app delivery mechanism in the next few years, even on mobile devices.
- dvtrn 8y agoIf, however, it's 15mb of useful functionality (perhaps an app that lets you edit and encode video), then in my eyes, it's acceptable You either have an abundance of high speed internet access, or benefit from internet usage that isn't metered by the amount of data consumed, or both. Functionality or not, heavy web experiences leave out a lot of people who would otherwise be willing and capable users of %product% if it weren't for the excessive payloads they're often expected to consume just to be a user when that payload could quite trivially be reduced and still accomplish the goal of delivering content and information to the end user. So here's my question: forget about people who hate doing everything in the browser, what about the users who just don't have access to Cable+ internet speeds, want to use the product, but perhaps can't because they're downloading 15, 20, 30MB websites just to fill out a form element because the browser is all this user is familiar with? Not everyone on the internet is a regular of HackerNews who groks native applications versus web apps. At what point do we start focusing on the content and asking ourselves "Do I REALLY need this animation library just to indicate 'Start here' is where they should be interacting with my webform"? To answer that rhetorical question for you: probably, quite likely not.
- zdragnar 8y ago> but perhaps can't because they're downloading 15, 20, 30MB websites just to fill out a form element? Parent post (in fact, the segment you quoted) literally says that it's okay when it is useful functionality, i.e. not when it's just to fill out a form. Sadly, these aren't going to get to experience a decent chunk of the internet anyway, since video, gifs, and images all frequently weigh significantly more when put together.
- dvtrn 8y agoParent post (in fact, the segment you quoted) literally says that it's okay when it is useful functionality, i.e. not when it's just to fill out a form. Since when did forms become useless and what web-based video editor are you (or the original reply-er) pointing to that uses AMP?
- 8y ago
- rlpb 8y ago> perhaps an app that lets you edit and encode video Fundamentally, 15mb is excessive even for that, even if it is common practice for such things to bloat to that size.
- ryandrake 8y agoTo put it into perspective, that's larger than the entire post-install size of the original DOOM PC video game, including all sound and artwork.
- osrec 8y agoNot really - imagine if you're looking to create a fully featured video editor, complete with 3d effects and whatnot. It could well exceed 15mb to deliver all the required functionality.
- dvtrn 8y agoShouldn't this be a native desktop application versus foisting it onto web clients? If we're talking "fully featured"?
- osrec 8y agoThis is where the paradigm shift is coming. Your past experiences say it must be a desktop native app, but I believe things like WASM, web workers etc will allow such things to run comfortably in the browser. I really do believe people will build for the browser more than they will for the desktop because it's a more universal platform. I can even imagine a future where, for the majority, the only native app you have on your machine is a browser, and everything else is some variant of a PWA. I really feel this will happen very soon.
- ForHackernews 8y agoThis sounds like a nightmare.
- sazfedjhrgnukc 8y agoExactly! There can never be any reason whatsoever for any site anywhere on the entire World Wide Web to be 15MB. Absolutely not! I mean, I don't even know what the site does, but 15MB can not possibly be justified.
- lightedman 8y agoYou'd be amazed. Accessing my game via the web results in a couple gig (varying, depends on world state) download. My music tools, if they were put on the internet, would result in needing to load about 300 MB of stuff. And that's very, VERY tightly coded and hand-optimized, with no JS, Java, etc.
- metildaa 8y agoThis assumes that Google's CDN is providing a significant advantage in connectivity, when in actuality you'll often have more available bandwidth between say OVH and your ISP at peak times, as compared to relying on Google's congested peering to certain large ISPs. Amazon S3 can be really paimfully slow at peak times too, I often see sub-1MB/s, while fast.com (Netflix) or OVH can fill the pipe.
- ec109685 8y agoGoogle can preload and pre render amp sites because the specification ensures they are safe to do so. You can’t do that with your own website.