amp-toolbox-php icon indicating copy to clipboard operation
amp-toolbox-php copied to clipboard

Generate AmpCache class with cache host information

Open schlessera opened this issue 3 years ago • 0 comments

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.

schlessera avatar Mar 02 '21 17:03 schlessera