4 ms·
AMP pages can’t include any author-written JavaScript. Instead of using JavaScript, interactive page features are handled in custom AMP elements. The custom AMP
by alistproducer2 10y ago
AMP pages can’t include any author-written JavaScript. Instead of using JavaScript, interactive page features are handled in custom AMP elements. The custom AMP elements may have JavaScript under the hood, but they’re carefully designed to make sure they don’t cause performance degradation.
https://www.ampproject.org/docs/get_started/technical_overview.html#allow-only-asynchronous-scripts https://www.ampproject.org/docs/get_started/technical_overvi...
- perseusprime11 10y agoThanks for sharing. How do you go about taking a current website and building a PWA? Do I have to change my website architecture drastically?
- angry-hacker 10y agoI'm interested what if my site already is 'amp' - do I really need to have a duplicate page? And add even more markup? I don't understand amp, Google already has loading time as signal, just increase it even more.