AMP既可以用作移动版本又可以用作桌面版本吗? [英] Can AMP be used as both mobile and desktop versions?

查看:74
本文介绍了AMP既可以用作移动版本又可以用作桌面版本吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在名称(AMP)本身也清楚地表明,它用于静态移动网页时,我也没有在任何地方找到直接的答案.

I didn't find a straight answer on that anywhere as it clearly say in the name (AMP) itself too, that it's used for a static mobile web pages.

我发现amp标记用于桌面版本,例如 ampproject.org 具有

I found out that amp tag is used on desktop version like for example ampproject.org has

所以我现在还不清楚是否可以在台式机版本上使用AMP(有益于)?

So it's unclear to me now whether the AMP can (is benefitial to) be used on desktop version as well?

推荐答案

有可能,您的网站在台式机和移动设备上都可以正常运行,可以正确加载并且运行非常快.

It is possible, your site is going to work well on both Desktop and Mobile devices, it's going to load properly and work really fast.

但是,请记住, AMP 更加面向移动设备,您可以使用的所有当前库无疑都专注于在小型设备上以及某些市长上创造更快的体验.实施AMP的网站使用的是不同版本,例如每个页面或文章的移动版,桌面版和AMP版本,听起来维护起来很麻烦,但它可以为每台设备上的每个用户提供最佳体验.

BUT, keep in mind that AMP is more oriented toward mobile devices, all of the current libraries that you can use are definitely focused in creating a faster experience on small devices, and some of the mayor sites implementing AMP are using different version, like Mobile, Desktop and AMP version of each page or article, sounds complicated to maintain, but it allows to offer the best experience for each user on every device.

因此,如果您想从头开始创建跨设备站点,AMP是一个不错的选择,请记住,您在其他站点上看到的很多东西(交互插件,javascript库,复杂的ajax功能,复杂的表单和验证)可能在将来(也许将来)不受支持.

So, if you want to create a cross device site from start, AMP is a good option, just keep in mind that a bunch of the things you see on other sites (interaction plugins, javascript libraries, complex ajax functionality, complex forms and validations) are not currently supported, maybe in the future, maybe not.

这篇关于AMP既可以用作移动版本又可以用作桌面版本吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆