News for hackers. Stuff that matters.
Re:Standardizing lessons learned from AMP by tootie on Thursday March 08, 2018 @02:31PM (#16546937)
Is anyone out there doing anything with AMP besides Google? It seems like it could be super useful for aggregator sites like Reddit. Or HN for that matter. Like a heavyweight version of OpenGraph meta tags.
Re:Standardizing lessons learned from AMP by tyingq on Thursday March 08, 2018 @02:40PM (#16547010)
The reddit AMP pages you land on from Google searches are particularly irritating. You aren’t logged in when you go to them, and various UI expectations are broken. Web packaging could help here since it would remove the google url, allowing cookies/sessions to function again.
Re:Standardizing lessons learned from AMP by Ajedi32 on Thursday March 08, 2018 @02:52PM (#16547112)
Web Packaging (at least on its own) wouldn't help with that, since the whole point of that standard is to allow content to be prefetched from a CDN (like AMP pages currently are), and CDNs can't cache content that's user-specific.

What _would_ work is serving the main content immediately, then using JS to fetch user-specific stuff after the page load.

Re:Standardizing lessons learned from AMP by beokop on Thursday March 08, 2018 @04:54PM (#16548025)
... and we’re back to optimizing for fast delivery of the page that loads your page.
Re:Standardizing lessons learned from AMP by tyingq on Thursday March 08, 2018 @02:58PM (#16547157)
Right, which you can’t do now, but could do after the main page url is yours again.
Re:Standardizing lessons learned from AMP by tootie on Thursday March 08, 2018 @11:58PM (#16549893)
I meant from the other direction. Like Reddit could pull the AMP versions of pages users link to.

As for their implementation of AMP pages for Google's use, I think that's sound strategy. People landing on Reddit from Google are at the lowest level of engagement and a lot of sites serve more ads conditionally based on your level of engagement. Native visitors get a better experience, logged in contributors get the white glove treatment.

Re:Standardizing lessons learned from AMP by lern_too_spel on Thursday March 08, 2018 @04:11PM (#16547658)
CloudFlare, Bing, Baidu, and Yahoo Japan run their own AMP caches. I agree that it makes sense for external link heavy sites like search engines and Reddit.