amp-toolbox-php
amp-toolbox-php copied to clipboard
Generate AmpCache class with cache host information
As an alternative to https://github.com/ampproject/amp-wp/issues/2382 , we should generate an AmpCache
class from the https://cdn.ampproject.org/caches.json that turn the JSON file into readily usable class constants in PHP code.
This can make use of the logic that is used by the validator spec code generation.