Can AMP be used as both mobile and desktop versions?

五迷三道 提交于 2019-11-29 18:36:09

问题


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.

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

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


回答1:


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.

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.

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.




回答2:


I think it is possible to use AMP in web or what you said desktop. The purpose of AMP is for creating fast-loading mobile web pages, but this is not mean that it is only limited for the mobile.

If you also check the Supporter browsers part in this Github, It is stated that:

In general, we support the 2 latest versions of major browsers like Chrome, Firefox, Edge, Safari and Opera. We support desktop, phone, tablet and the web view version of these respective browsers.

Beyond that the core AMP library and built-in elements should aim for very wide browser support and we accept fixes for all browsers with market share greater than 1 percent.

For more information about AMP, check this page and the link that you provide in your question.




回答3:


In fact, we used AMP only for our entire website. It's fast and it ranks decently well too.

Meaning, if you're ever looking for any AMP WordPress guides check this resource out as we've covered all the steps you need to AMP any website (…way too long to post here).



来源:https://stackoverflow.com/questions/39056800/can-amp-be-used-as-both-mobile-and-desktop-versions

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!