简体   繁体   English

如何为我的 AMP 网站使用 Google AMP 缓存

[英]How to use Google AMP Cache for my AMP Website

How to use or setup a google AMP cache for my amp website.如何为我的放大器网站使用或设置谷歌 AMP 缓存。 I have seen many site manages their request from google.com server .我见过许多站点从 google.com 服务器管理他们的请求。 How it is possible for me?我怎么可能?

To make Google serve your pages as AMP-page, the page must be re-written / modified to make it fit the AMP requirements.要让 Google 将您的页面作为 AMP 页面提供服务,必须重新编写/修改页面以使其符合 AMP 要求。

AMP-pages are stripped down versions of web pages, with some restrictions compared to ordinary websites. AMP 页面是网页的精简版,与普通网站相比有一些限制。 The HTML markup is slightly different, ie and there are other restrictions such as CSS limited to 100kb. HTML 标记略有不同,即还有其他限制,例如 CSS 限制为 100kb。 Those sites are separately hosted and as soon as Google crawled it, it might be included in the AMP mobile search results.这些网站是单独托管的,一旦 Google 抓取它,它就可能包含在 AMP 移动搜索结果中。

See AMP documentation for the details on how to implement it.有关如何实施它的详细信息,请参阅AMP 文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM