为什么Facebook泛滥了我的网站? [英] why facebook is flooding my site?
问题描述
每个半小时,我都会收到 http://www.facebook.com的大量请求/externalhit_uatext.php .
Every hour and a half Im getting a flood of requests from http://www.facebook.com/externalhit_uatext.php.
我知道这些要求的含义,但是这种行为很奇怪.
I know what theses requests should mean, but this behavior is very odd.
定期(大约每1.5个小时),我每分钟会收到许多请求,这些请求是发给我网站上很旧的帖子的-这让我头疼,因为它们没有被缓存...
On a regular basis (aproximatedly every 1,5 hour), Im getting dozen of these requests per minute to very old posts of my site - and this is giving me a headache since they are not cached...
有人知道这可能是什么吗?在什么情况下,Facebook会这样做?
Does anyone know what this could be? In what cases facebook does that?
狮子座,
日志示例:
66.220.158.251, 200.147.35.64 (5715) - - [19/Mar/2012:09:44:40 -0300] "GET /2009/10/catraca-ensina-como-fazer-um-bom-negocio-no-sebo/ HTTP/1.0" 200 23538 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
69.171.229.251, 200.147.96.73 (590684) - - [19/Mar/2012:09:45:08 -0300] "GET /2012/02/ganhador-da-promocao-comece-2012-discotecando/ HTTP/1.0" 200 22716 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
69.171.242.248, 200.147.35.65 (661588) - - [19/Mar/2012:09:45:28 -0300] "GET /2012/01/elza-soares-e-trio-no-palco-do-auditorio-ibirapuera/ HTTP/1.0" 200 24699 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
66.220.149.248, 200.147.35.65 (5367) - - [19/Mar/2012:09:45:43 -0300] "GET /2011/03/projeto-coisa-fina-leva-musica-instrumental-ao-ccsp/ HTTP/1.0" 200 22555 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
推荐答案
Facebook Linter将定期访问您的页面以更新OpenGraph数据,这不是您可以控制的,但是您应该考虑以下几点:
Facebook Linter will be visiting your pages periodically to update the OpenGraph data, this isn't something you can control, but there is couple of points you should consider:
- 具有正确且适当的网页缓存/ETag.
- 缓存数据(至少对于匿名用户而言,Facebook bot应该如此).
这篇关于为什么Facebook泛滥了我的网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!