News for hackers. Stuff that matters.
Re:Neither PWA nor AMP are needed to make a website load fast by dvtrn on Thursday December 06, 2018 @10:55PM (#18625003)
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

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.

Re:Neither PWA nor AMP are needed to make a website load fast by zdragnar on Thursday December 06, 2018 @11:02PM (#18625041)
> 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.

Re:Neither PWA nor AMP are needed to make a website load fast by dvtrn on Thursday December 06, 2018 @11:07PM (#18625063)
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.

Since when did forms become useless and what web-based video editor are you (or the original reply-er) pointing to that uses AMP?

Re:Neither PWA nor AMP are needed to make a website load fast by zdragnar on Friday December 07, 2018 @12:17AM (#18625326)
We're talking about two completely separate types of websites. Nobody said forms are useless. Web-based video editing was a hypothetical example. AMP wasn't really part of this discussion; presumably, lots of JS + PWA functionality in the hypothetical video editing example was the referenced useful functionality.

Take Google Sheets as an example. I don't know what the total download size is for the JS (certainly not 15mb), but it's an example of a JS heavy website where you wouldn't want to serve -> submit form -> serve cycle for every user input.

Re:Neither PWA nor AMP are needed to make a website load fast by dvtrn on Friday December 07, 2018 @12:21AM (#18625343)
We're talking about two completely separate types of websites. Nobody said forms are useless. Web-based video editing was a hypothetical example. AMP wasn't really part of this discussion

This entire discussion started from an opinionated blog post that directly discusses AMP and it's performative nature on the web.

So yes.

It is.

You can't just invent a hypothetical that makes it easier to justify exceptions to the very topic the original blog post we're talking about here, of course exceptional things like resource-heavy, full-featured web apps are going to be outliers to lightweight payloads for web apps. For some reason I highly doubt those were the types of use-cases Google had in mind when AMP was released, so why are we even considering exigent outliers on this one?

Re:Neither PWA nor AMP are needed to make a website load fast by osrec on Thursday December 06, 2018 @11:23PM (#18625123)
I agree that the initial hit to download 15MB is a lot. But if we think of native apps, users would need to download them from the app store as well. If their internet is slow, both experiences are bad.

Having re-read your post, you seem to have misunderstood my point. You seem to be arguing that keeping things lightweight is good. I agree with you there! But remember, for certain applications, this is not always possible. In my hypothetical video editing app, 15MB could well be just the core logic - it's not 1MB of logic and 14MB of bells and whistles!

Re:Neither PWA nor AMP are needed to make a website load fast by dvtrn on Friday December 07, 2018 @12:16AM (#18625323)
Okay but why even are web editing applications even being pushed to the web? Why even is this hypothetical relevant for a discussion of AMP here? I understand more and more former desktop operations are being pushed to web clients but full-fledged video editors?

As I mentioned to another commenter: can you show me an example of a full-featured, web-based video editor using AMP?

I'm not sure if I can buy in that this is the example to rest upon here.

Re:Neither PWA nor AMP are needed to make a website load fast by osrec on Friday December 07, 2018 @12:20AM (#18625340)
I assume you mean video editing.

Many reasons, but the top one in my opinion is having a single code base across all devices. I think it's a worthwhile goal, personally.

Re:Neither PWA nor AMP are needed to make a website load fast by dvtrn on Friday December 07, 2018 @12:24AM (#18625359)
Sure, but this is just as achievable, if more agreeably challenging on the desktop as a platform as it is on the web.

I'm not sure if it's a particularly convincing axiom here for heavy payloads of web-apps, particularly when we're talking about simply delivering content to cite a singular code base for why a web application that would benefit from AMP (which was the central conceit of the actual blog post we're all here discussing today) needs to be 15MB heavy.

Well formed markup and smart content compression could accomplish the same thing.

Re:Neither PWA nor AMP are needed to make a website load fast by osrec on Friday December 07, 2018 @01:18AM (#18625550)
Hmm, I don't think I ever mentioned AMP in my posts. I know the blog post talked about it, but I was focusing on the PWA bit, as it's something I'm fairly experienced with. When the guy mentioned 15MB, I was simply saying that it's not an outlandish size if you're delivering a PWA which provides 15MB worth of solid functionality.

I guess you got your wires crossed, as AMP is not something I was talking about - my focus was specifically on PWAs and the fact that it's not a problem if their payloads are large.

But yes, AMP (read: glorified CDN) wouldn't solve much if you have 15MB to download each time you visit a site (aside: you wouldn't need to do this with PWAs because of caching).

Re:Neither PWA nor AMP are needed to make a website load fast by ForHackernews on Friday December 07, 2018 @05:37AM (#18626519)
Why would you not just edit and encode video locally, with an actual installed program?

Everyone with a computer produced after 2010 has the equivalent of late-90s supercomputer, and we were doing video editing on desktops in the 90s!

Re:Neither PWA nor AMP are needed to make a website load fast by Spivak on Friday December 07, 2018 @11:20AM (#18628917)
Such a web application would essentially be an installed program!

Look, I know its weird but there is finally a multi-implementation cross-platform runtime that people actually want to use. I would be so excited if I could run full Photoshop in my browser on Linux.

Re:Neither PWA nor AMP are needed to make a website load fast by C1sc0cat on Friday December 07, 2018 @05:48AM (#18626570)
I wish I could upvote this more than once