
上QQ阅读APP看书,第一时间看更新
AMP Cache
Sometimes referred to as AMP-CDN, this is the caching component of AMP. It's a free-to-use content delivery network (CDN), for caching AMP pages so that they can be rendered instantly. Anyone is free to implement and use their own CDN. AMP Cache is a key component in delivering AMP's instant-loading experience.
When AMP pages are served from the cache, they can be optimized even further. These optimizations include:
- Resizing images to match the user's viewport (reduces page size)
- Inlining images that are above-the-fold (reduces HTTP requests)
- Inlining CSS (reduces HTTP requests)
- Preloading of extended components (reduces perceived page load time)
- Minification of HTML and CSS (reduces page size)
- Pre-rendering of web pages in the background (reduces perceived page load time)