Google AMP:amp-list与php循环-SEO/Pagespeed [英] Google AMP: amp-list vs php loop - SEO / Pagespeed

查看:159
本文介绍了Google AMP:amp-list与php循环-SEO/Pagespeed的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的AMP页面提供评论列表.每条评论都是一种手风琴式手风琴,以实现出色的阅读功能.

我目前正在辩论是否将评论直接加载到DOM(php循环)或通过JSON文件(amp-list)加载.

当我比较此页面的两个版本时,amp-list在DOMContentLoaded和Load中获得了很大的成功,但是在Finish中它们却紧密相关,而对php循环版本的支持却很小.

假设php循环版本将完全被AMP缓存,并且amp-list将必须轮询堆栈以获取数据,哪种版本更适合整体用户体验/seo?

谢谢! :D

解决方案

我认为这取决于您的目的.目前,Google bot无法抓取延迟加载的数据,因此我认为amp-list对SEO不利.但是它对于在用户或漫游器着陆时加载时间很有用,这也有助于SEO.我的解决方案是只加载google bot的最佳内容,然后首先查看哪个最低版本.然后,当页面加载后,您可以替换为完整版本.

My AMP page serves a list of reviews. Each review is an amp-accordion in order to implement nice read-more features.

I am currently in debate whether or not to load the reviews straight into the DOM (php loop) or load them through a JSON file (amp-list).

When I compare the two versions of this page, amp-list wins big in DOMContentLoaded and Load, but they are tied in Finish with a small favor towards the php loop version.

Assuming the php loop version would be completely AMP-Cached, and amp-list would have to poll the stack for the data, which version would be better for overall user experience / seo ?

Thank you! :D

解决方案

I think it bases on your purposes. Currently google bot cannot crawl the data which lazyloading so I think amp-list not good for SEO. But Its good for loading time when user or bots landing which also help for SEO. My solution is just load only best stuffs for google bot seeing first which minimum version as possible. Later then when page loaded you can replace with fully version.

这篇关于Google AMP:amp-list与php循环-SEO/Pagespeed的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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