【amp是什么意思】这就是AMP
深深算网络
来源:原创
【amp是什么意思】这就是AMP
如果你是一位SEO爱好者较近应该有听说过AMP技术,什么是AMP?对网站优化加速有什么价值?无忧来给各位站长进行下讲解。
源于是一种较新的SEO技术,是Google的AMP项目。
AMP,AcceleratedMobilePages,译意大致是”加速的移动页面”,是Google去年10月份推出的一个提高移动页面访问速度的技术,你可以官方查看到相关的介绍。
了解详情https://www.ampproject.org/zh_cn/docs/get_started/about-amp.html或者AMP项目博客
通过AMP可以构建快速渲染的静态内容网页。AMP实例由三个不同部分组成:
AMPHTML
AMPJS
GoogleAMPCache
AMPHTML是为确保可靠性能而具有某些限制的HTML,它进行了一些扩展,可以构建超出基本HTML的丰富内容。AMPJS库可确保快速渲染AMPHTML页面。GoogleAMPCache(可选)提供AMPHTML页面。
AMPLandingPagesexperienceshowninaGoogleSearchflow
AMP页面加速演示
AMPHTML
AMPHTML本质上是使用自定义AMP属性扩展的HTML。较简单的AMPHTML文件如下所示:
body{-webkit-animation:-amp-start8ssteps(1,end)0s1normalboth;-moz-animation:-amp-start8ssteps(1,end)0s1normalboth;-ms-animation:-amp-start8ssteps(1,end)0s1normalboth;animation:-amp-start8ssteps(1,end)0s1normalboth}@-webkit-keyframes-amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes-amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes-amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes-amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes-amp-start{from{visibility:hidden}to{visibility:visible}}
未经允许不得转载:深深算网络 » 【amp是什么意思】这就是AMP