Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate AmpCache class with cache host information #87

Open
schlessera opened this issue Mar 2, 2021 · 0 comments
Open

Generate AmpCache class with cache host information #87

schlessera opened this issue Mar 2, 2021 · 0 comments
Assignees

Comments

@schlessera
Copy link
Collaborator

As an alternative to ampproject/amp-wp#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants