gpt4 book ai didi

java - 如何清除 Google Proxy 或 googleusercontent.com 缓存?

转载 作者:可可西里 更新时间:2023-11-01 13:29:36 33 4
gpt4 key购买 nike

Gmail 的 Google Proxy 缓存了错误的图像文件在 googleusercontent.com 下运行,我们正在考虑删除缓存。原始文件链接自 Amazon S3。我们想强制使缓存失效,以便昨天发送的电子邮件 (5M) 显示正确的图像。

Facebook 有 Linter 页面,但我们在 Google Proxy 上如何做?

最佳答案

怀疑您是否可以清除 Google 服务器的缓存。他们之所以开始这样做是为了解决是为了防止垃圾邮件。然而,这样做会导致一些问题浮出水面,例如链接断开。

有人问他们什么时候清除缓存的问题,但没有人回答。甚至谷歌的员工也不行。 Gmail forum看起来他们不打算允许用户覆盖/删除/更新缓存的图像。也许在未来,作为免费增值功能?

但是您可以通过下次应用无缓存 header 来防止它发生。这允许不缓存电子邮件中的图像。

HTTP 200 OK
Content-Type: image/png
Cache-Control: no-cache, max-age=0

http://blog.movableink.com/real-time-content-and-re-open-tracking-return-to-gmail/

可以在此处找到有关缓存工作原理的详细说明。 http://www.redant.com.au/how-we-do/cache-busting-gmail-new-image-caching/

关于java - 如何清除 Google Proxy 或 googleusercontent.com 缓存?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32087992/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com