The Wayback Machine - https://web.archive.org/web/20201030030644/https://github.com/topics/amp
Skip to content
#

amp

Here are 359 public repositories matching this topic...

amp-wp
westonruter
westonruter commented May 22, 2019

The list of AMP Caches is available at https://cdn.ampproject.org/caches.json

This could be pulled in dynamically rather than hard-coding each AMP Cache in \AMP_HTTP::get_amp_cache_hosts():

https://github.com/ampproject/amp-wp/blob/9e049f6554b69e06284ead57d13ef416226a51ec/includes/class-amp-http.php#L191-L239

This is low priority because the list of caches changes infrequently.

mk0x9
mk0x9 commented Nov 8, 2019

When optimizer used in conjuction together with optimizer-express it's not possible to pass params to optimizer's transformHtml method, only configuration to the optimizer constructor.

And while some transformers honor those configurations:
https://github.com/ampproject/amp-toolbox/blob/efe5775c5ff93ebacd6f7bd336ba02d829eca579/packages/optimizer/lib/transformers/AmpBoilerplateTransformer.js#

Improve this page

Add a description, image, and links to the amp topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the amp topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.