简体   繁体   English

AMP缓存ping请求速率

[英]AMP cache ping request rate

Is there a need to throttle requests to the AMP ping url? 是否需要限制对AMP ping URL的请求? I have an infrequent case where a page change may need to update the cache for about 20,000 urls. 我很少遇到页面更改可能需要更新约20,000个URL的缓存的情况。 The documentation does not indicate if requests to the ping url should be throttled though. 该文档没有指出是否应限制对ping url的请求。

In my case, the requests would be made in serial, so I doubt the load would be any issue. 就我而言,请求将以串行方式发出,因此我怀疑负载是否会成为问题。 I just want to be sure it's allowed and I don't start getting rejected for exceeding an undocumented limit. 我只是想确保它被允许,而且我不会因为超出未记录的限制而被拒绝。

I think it is ok, just don't let your AMP hit the quota limits. 我认为还可以,只是不要让您的AMP达到配额限制。 Just remember that the AMP URL API has a quota of 1,000,000 Request per day and 1,000 Request per 100 seconds, you can also check it in this Usage Limits . 请记住,AMP URL API的配额为每天1,000,000个请求和每100秒1,000个请求,您也可以在“ 使用限制”中进行检查。 You can double check it in your Developer Console. 您可以在开发者控制台中再次检查它。 For more information, check this thread about AMP Cache 有关更多信息,请检查此线程有关AMP缓存

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM