Live data from Hacker News

Ask HN: Is it just me or is the AMP project making everything slower?

news.ycombinator.com

91–100 of 189 posts

Re: Ask HN: Is it just me or is the AMP project making everything slower?

#92

Earlier quoted context omitted.

What bothers me about this argument is that there are plenty of other ways to make a news site fast...like just using straight static html content and minimizing JS usage. See http://text.npr.org or http://lite.cnn.io for example

Do you really think that websites can “just minimize JS usage” without consequences? For example, AMP provides an ad component that is probably the by far most performant way to display ads on the web. Without AMP, the site has to use alternative ad solutions, which probably perform worse and load more JS. The only way for the site to reduce JS would be to find an ad solution that is similar to AMP in terms of perfor…

They could have fixed this in a heartbeat by simply having pagerank penalize pages for adding external JS assets. No AMP needed; better experience all around, and with less effort.

Re: Ask HN: Is it just me or is the AMP project making everything slower?

#93
post #8

Yes, AMP is rather slow: https://timkadlec.com/remembers/2018-03-19-how-fast-is-amp-r... and looks fast mainly because Google preloads it: https://ferdychristant.com/amp-the-missing-controversy-3b424...

Sure, but from an end-user perspective, preloading is a perfectly valid way to achieve good performance, so it shouldn't be left out of the conversation. The fact that AMP can be preloaded without leaking your sensitive information to the owners of domains that you have not yet navigated to is a primary component of the design, and often gets ignored by armchair analysts.

Some of us still have internet quota, sadly.

Re: Ask HN: Is it just me or is the AMP project making everything slower?

#94

I sadly have to code AMP for work. The reason you see a white page is that the boilerplate code required for any AMP page to be valid includes : webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both; With visibility set to hidden for every element on the page. This is used to minimize page rendering artifacts for the end user, which is one of AMP's main goals, content should be fixed. The problem however here…

Thanks for the enlightenment, this explains why I no longer visit The Independent's website.

I naively assumed, to begin with, that they'd pushed out something broken. Except it never got resolved, which surprised considering the length of delay. So I resolved it by pretending they no longer exist.

I'll likely never know if they ever do resolve it.

Re: Ask HN: Is it just me or is the AMP project making everything slower?

#95

Earlier quoted context omitted.

8 seconds? I thought it was 3. That being said, this is most likely the culprit. If OP is blocking AMP CDN, the inlined CSS code will hide the content until the CSS animation completes after whatever the timeout is nowadays.

This CSS animation is just the backup in case the javascript doesn't load at all, really. After 8 seconds, the page gives up trying to prevent the flash of unstyled content and just renders, regardless of how bad the styling is. It also includes a block that renders the page immediately if javascript is disabled. The 8s thing is for network issues. Graceful degradation. Lots of documents (amp or not) use the same "hi…

> Lots of documents (amp or not) use the same ... trick

Perhaps luck, but I have never encountered one that is so hostile about it with nearly 10s wait outside of AMP. I've rarely encountered a second or so's delay, but two or three sites including a large one that have the massively excessive AMP delay.

So to call it the same trick seems like a stretch from a user annoyance point of view.

Re: Ask HN: Is it just me or is the AMP project making everything slower?

#96

I think there are definite drawbacks to the AMP project. For starters, it seems like the main goal is for Google to own more of the time people are interacting with the web, rather than anything else. A mark in its favor though is local news sites. They are desperate to be at the top of the search page so when they join AMP, and you look at their AMP pages all of a sudden the loads of dark patterns they usually emplo…

I'm trying to update my site to amp right now. I wrote the thing in django but it doesn't look like django is compatible with amp.

I'm switching over to php because it's the simplest language that seems to have CORS headers without requiring middleware packages. It seems like AMP can't even do something as simple as a contact form without CORS headers. I'm sure an experienced programmer could solve this problem easily but it makes things harder for amateurs like me.

It also doesn't seem to work with bootstrap so I've had to switch the whole thing over to basscss.

It seems like choosing AMP limits the other technology you can use.

Re: Ask HN: Is it just me or is the AMP project making everything slower?

#97
post #21

Earlier quoted context omitted.

Ugh, Reddit. Their amp version is terrible for the exact reason you mention. I know every time I see a Reddit page on Google results that I'll make two page loads instead of one (this does make a difference on my country, where everything is slow). Then, when accessing their pages on mobile browser, there's a huge banner telling me to download their app. In this same banner there is a dark UX pattern, where the call…

My favorite is that they've recently started animating their "Get the app" button in the header. That's both immediately on page load, _and_ on an interval as you're reading, meaning it's impossible to read for more than a minute or so without an animation distracting you. Is it just me or has the mobile web taken a nosedive in recent years? Imgur won't even let you upload images from mobile anymore without their app…

And then, after the big modal footer, and the animated button, when you tap on a link you sometimes get another different footer appear asking whether you want to view the link in the app or continue to view it in a browser.

Re: Ask HN: Is it just me or is the AMP project making everything slower?

#98
post #32
post #27

Earlier quoted context omitted.

all reader mode everything

Yeah, no, my experience is that reader modes usually remove blocks of code or images or paragraphs at random. I will rather have a bad reading experience than one where I always worry in the back of my mind that some cruicial part of the content is missing. A few too many times, I have read an article, finding it a bit vague and honestly not that good, only to find that all the code blocks or some of the images were…

this happens to me maybe 1 or 2% of the time

Re: Ask HN: Is it just me or is the AMP project making everything slower?

#100
post #61

I wish Google would just heavily weight fast-loading, responsively-designed pages in pagerank and call it a day. There's no need for a weird problematic proprietary format.. It just smacks of a power grab to keep visitors on google.com.

It's a power grab.
Post reply on HN