News for hackers. Stuff that matters.
Re:Standardizing lessons learned from AMP by dmitriid on Thursday March 08, 2018 @11:46PM (#16549856)
- Open Chrome

- Open Chrome Dev Tools

- Switch to mobile view (to force chrome open AMP pages)

- Search in Google

- Open an AMP page

- Force refresh to force reload from cold cache

I've yet to find a page below 1 MB. I've routinely seen pages anywhere from 2 to 4 MB. So much for "slimmed down performant webpages".

The only reason they are "performant" is Google preloading them while you search

Re:Standardizing lessons learned from AMP by xab9 on Friday March 09, 2018 @02:06AM (#16550220)
Yes, the preloading is a dirty trick. Google has the power to play dirty and noone dares to slap him in the face anymore.

Don't be evil -> do the right thing -> do what's right for Google.

Re:Standardizing lessons learned from AMP by Ajedi32 on Friday March 09, 2018 @05:27PM (#16555576)
Check out the non-amp versions of those pages though.

First example I got (via searching Google for "news" and clicking the first AMP link).

AMP: https://www.google.com/amp/s/www.sfgate.com/crime/amp/Active... (2.4 MB, loaded in 760ms)

Non-AMP: https://m.sfgate.com/crime/article/Active-shooter-reported-a... (4.7 MB, loaded in 7 seconds)

The non-AMP page is twice as big and takes an order of magnitude longer to load. So, yes. I would _absolutely_ describe the AMP version as a "slimmed down performant webpage".

Could it be better? Of course! But users are still _much_ better off with AMP than without, at least in terms of performance. (And that's ignoring the fact that preloading is part of AMP. It's not "cheating" if it works in a real-world situation.)

Re:Standardizing lessons learned from AMP by dmitriid on Sunday March 11, 2018 @06:51AM (#16562513)
My personal non-AMP page weighs ~800 KB (including all images and JS). It still has no chance in hell competing against a 2.4 MB AMP page because I don't have Google's CDN.

Even if I follow all of Google's own performance guidelines, it won't help, as AMP pages load faster than text-only http://motherfuckingwebsite.com

> It's not "cheating" if it works in a real-world situation.

No. It's still cheating. Even if it works

Re:Standardizing lessons learned from AMP by Ajedi32 on Sunday March 11, 2018 @09:51PM (#16565718)
Call it cheating if you want. I as a user still strongly prefer a "cheating" site that loads instantly over a "non-cheating" one that I have to wait 5 seconds to load.