News for hackers. Stuff that matters.
Re:WordPress Sites Now Support Google’s AMP to Make Mobile P... by Zikes on Wednesday February 24, 2016 @11:47AM (#11168104)
Can you elaborate? From what I can tell, AMP makes use of on-demand resource loading, which HTTP/2 prefers over bundled resources thanks to multiplexing.
Re:WordPress Sites Now Support Google’s AMP to Make Mobile P... by fareesh on Wednesday February 24, 2016 @01:34PM (#11169018)
From what I understood, there are a few contradictions like splitting up assets (preferable in HTTP/2) as opposed to concatenating/merging them (preferable in AMP). Perhaps I misunderstood
Re:WordPress Sites Now Support Google’s AMP to Make Mobile P... by Zikes on Wednesday February 24, 2016 @02:50PM (#11169659)
AMP encourages you to keep your assets separated, so you only load the bits you need. If a page is going to use <amp-youtube> you'll have to include the appropriate script tag for that component in the page, for example.