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

查看:27
本文介绍了如何清除 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.

Facebook 缓存的内容: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

What Facebook has cached: 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

原始缓存 URL,现已更新为新图像.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天全站免登陆