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

查看:26
本文介绍了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天全站免登陆