But, what is AMP?
Accelerated Mobile Pages is where your website / blog is a mobile redirect that is not quite a mobile redirect.
The AMP Project is an open-source initiative aiming to make the web better for all. The project enables the creation of websites and ads that are consistently fast, beautiful and high-performing across devices and distribution platforms. Ergo: this site runs quickly on a mobile.
AMP pages are built with 3 core components –
- AMP HTML
- AMP JS
- AMP CACHE
It is the Cache that interests me – The Google AMP Cache can be used to serve cached AMP HTML pages.
The Google AMP Cache is a proxy-based content delivery network for delivering all valid AMP documents. It fetches AMP HTML pages, caches them, and improves page performance automatically. When using the Google AMP Cache, the document, all JS files and all images load from the same origin that is using HTTP 2.0 for maximum efficiency.
The cache also comes with a built-in validation system which confirms that the page is guaranteed to work, and that it doesn’t depend on external resources. The validation system runs a series of assertions confirming the page’s markup meets the AMP HTML specification.
Another version of the validator comes bundled with every AMP page. This version can log validation errors directly to the browser’s console when the page is rendered, allowing you to see how complex changes in your code might impact performance and user experience.