amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

[Master Feature] Improve performance on AMPHTML ads when served to non-AMP pages

Open jasti opened this issue 8 years ago • 6 comments

@lannka and @keithwrightbos to breakdown to tasks

  • Reduce the size of the ads runtime

jasti avatar Dec 08 '17 21:12 jasti

This is complete. AMPHTML ads on non-AMP pages served via GPT are now validated and optimized to include full version paths for AMP scripts, server side rendering with inline CSS, and tag injection within amp-img and amp-pixel elements.

keithwrightbos avatar Mar 23 '18 00:03 keithwrightbos

In most cases AMPHTML ads are already more performant than non-AMP pages. This is certainly the case when compared to HTML5 creatives. However, when compared to simply image creatives, the AMPHTML variant is slower because it needs to download entire runtime to render the ad. Optimize the AMPHTML ad in a way that it's always better than a non-AMPHTML ad.

Performance in this case means 'optimizing to get the creative to render as quickly as possible' which translates to increased viewability, higher click through rate of the ad.

jasti avatar Apr 03 '18 02:04 jasti

This issue hasn't been updated in awhile. @keithwrightbos Do you have any updates?

ampprojectbot avatar Sep 11 '18 11:09 ampprojectbot

when compared to simply image creatives, the AMPHTML variant is slower because it needs to download entire runtime to render the ad

Server-side rendering can convert the AMPHTML variant to HTML, such that the browser can display the image immediately, without waiting for the runtime to load. This is what Doubleclick has deployed.

I know @lannka has other plans for improving the efficiency of Inabox, like making a separate and much smaller runtime, but I think this is tracked elsewhere?

jeffkaufman avatar Sep 11 '18 12:09 jeffkaufman

This issue hasn't been updated in awhile. @keithwrightbos Do you have any updates?

ampprojectbot avatar Dec 12 '18 10:12 ampprojectbot

let's track inabox lite work here: #22867

lannka avatar Jun 17 '19 18:06 lannka