如何清除Facebook的图像缓存 [英] How to clear Facebook's image cache

查看:494
本文介绍了如何清除Facebook的图像缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Facebook应用程序,代表我的用户创建了几个墙上的帖子。墙上的帖子中的图像被Facebook的服务器缓存。我已经取代了我的服务器上的原始图像,我想清除Facebook的图像缓存,所以其他墙上的所有帖子都会用新的图像更新。

I have a Facebook application that's created several wall-posts on behalf of my users. The image in the wall posts is cached by Facebook's servers. I've replaced the original image on my server and I would like to clear Facebook's image cache so all of the other wall posts update with the new image.

缓存:
http://platform.ak.fbcdn.net/www/app_full_proxy.php?app=236915563048749&v = 1& size = z& cksum = aebffc27f986977797a9903c2b6e08df& src = http%3A%2F%2Fvcweb2.s3.amazonaws.com%2Fassets%2Fweb%2Fimages%2Ficon_square.png

原始缓存的网址,现在用新的图片更新。
http://vcweb2.s3.amazonaws.com/assets /web/images/icon_square.png

Original cached URL, now updated with new image. http://vcweb2.s3.amazonaws.com/assets/web/images/icon_square.png

这可能吗?谢谢!

推荐答案

强制Facebook清除其缓存的特定URL的方式是使用调试工具

The way to "force" facebook to clear their cache for a specific url is to use the Debugger tool.

我尝试使用调试器url的图像,它显示新的图像,而不是旧的,虽然尝试缓存的链接,你发布的旧图像仍然出现。

I tried using the debugger with the url of the image and it shows the new image and not the old one, though when trying the cached link you posted the old image still appears.

我怀疑,如果你尝试发布新帖子将使用新图标,而不是旧的缓存版本,但您发布的链接可能不会更改。

I suspect that if you try to post new posts the new icon will be used and not the old cached version, but that link you posted probably won't be changed.

这篇关于如何清除Facebook的图像缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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