[英]How long does google cache the old data for amp-live-list
I am implementing amp-live-list for live news.as per ampbyexample.com "New content just needs to be published to the same URL".so i have to publish only new content to same url but this url will lost the old content. 我正在根据ampbyexample.com为实时news.as实现amp-live-list“新内容只需要发布到相同的URL”。因此,我只能将新内容发布到相同的url,但是此url将丢失旧内容。
so How long google cache will server the old content or i have to publish old+new contents both to same url? 所以谷歌缓存将服务器多久的旧内容,或者我必须将旧的和新的内容都发布到相同的网址?
<article>
<div class="article-head">
<amp-live-list layout="container" data-poll-interval="500000" data-max-items-per-page="20" id="amp-live-news" class="article-body">
<button update on="tap:amp-live-list-insert-blog.update">You have updates</button>
<div items>
<div id=@Model.Article.BasicId data-sort-time=@Model.Article.ModifiedDate.ToString("yyyyMMddHHmmss") class="article-body">
@Html.Raw(Model.Article.Content)
</div>
</amp-live-list>
</div>
</article>
You need to only push New content. 您只需要推送新内容。 It will take minimum 15 Sec to update.
至少需要15秒才能更新。 You can refer below article for more clarity.
您可以参考下面的文章以更清楚。 https://ampbyexample-com.cdn.ampproject.org/v/s/ampbyexample.com/components/amp-live-list/?amp_js_v=a2&_gsa=1&usqp=mq331AQCCAE%3D#referrer=https%3A%2F%2Fwww.google.com&_tf=From%20%251%24s&share=https%3A%2F%2Fampbyexample.com%2Fcomponents%2Famp-live-list%2F
https://ampbyexample-com.cdn.ampproject.org/v/s/ampbyexample.com/components/amp-live-list/?amp_js_v=a2&_gsa=1&usqp=mq331AQCCAE%3D#referrer=https%3A%2F%2Fwww .google.com&amp_tf =来自%20%251个%24S&ampshare = HTTPS%3A%2F%2Fampbyexample.com%2Fcomponents%2Famp活列表%2F
For part update - https://github.com/ampproject/amphtml/blob/master/extensions/amp-live-list/amp-live-list-server-side-filtering.md 对于部分更新-https: //github.com/ampproject/amphtml/blob/master/extensions/amp-live-list/amp-live-list-server-side-filtering.md
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.