Skip to content

Cache guidelines should explain how to add a new cache #6515

@ithinkihaveacat

Description

@ithinkihaveacat

AMP cache origins need to be whitelisted in various places to ensure all AMP features are available on all AMP caches. For example, for <amp-form> to work, the CDN needs to be added to the CORS headers on the origin. (See CORS security in AMP.)

There doesn't seem to be a single place that describes exactly what changes need to be made to the AMP source (config.js needs to be updated as caches are added?) and the origin's server configuration to support an additional CDN.

Can such information be added to the Cache Guidelines?

It would also be useful if this list were machine readable, so that AMP origins could automatically make themselves compatible with any new CDNs that come into being.

/cc @pietergreyling

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions