Can I use an alternate CDN for AMP since ampproject.org is blocked in China?

Is there a way to use an alternate CDN to include the main AMP JavaScript file? Can a URL be used other than https://cdn.ampproject.org/v0.js? Are there any plans to open this a bit more by allowing other CDNs that are not blocked in China, etc.?

Using several top proxies returned from a web search, it seems to be blocked in China ampproject.org. This is not too surprising since other Google properties are blocked.

Edit: I have to mention that I tried to copy the file and run it locally, but the AMP parser throws an error when I try to do this.

+4
source share
3

, , Javascript, AMP, URL https://cdn.ampproject.org.

" AMP Html, "

AMP , : JavaScript html-, , . JavaScript , CDN Google.

-:

AMP HTML - , , (CDN). Google , HTML- AMP URL CDN. HTML- AMP -.

+1

JS .

+4

Cloudflare now provides an alternative to the Google AMP cache: https://blog.cloudflare.com/accelerated-mobile/

+2
source

Source: https://habr.com/ru/post/1653555/


All Articles