避免在Firefox中进行缓存控制 [英] To avoid cache control in firefox

查看:85
本文介绍了避免在Firefox中进行缓存控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当响应头为


Cache-Control:无存储

Cache-Control : no-store

Firefox存储在内存缓存设备中。

Firefox stores in memory cache device.

如果响应头为

缓存控制:无缓存

然后将firefox存储在磁盘缓存设备中。

then firefox stores in disk cache device.

如果响应标头为


缓存控制:无存储,无缓存,必须重新验证,最大年龄= 0,检查后= 0,检查前= 0

Cache-Control : no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0

然后将firefox存储在内存中缓存设备

then firefox stores in memory cache device

不过,Firefox将请求缓存在任何一个缓存设备中。如何避免这种情况

However firefox caching the request in any of one cache device. How to avoid that

推荐答案


  1. 尝试将过期或最大年龄设置为最小值?

  2. 另一个示例:缓存控制:私有,不缓存,no-cache = Set-Cookie,代理重新验证

  3. 另一种方法是确实喜欢file.png吗?97887987979797(不是最好的...)

  4. Google的另一个示例:
    缓存控件:私有,最大年龄= 0
    有效期:-1

  1. try to set expire or max-age to minimum?
  2. another example: Cache-Control: "private, no-cache, no-cache=Set-Cookie, proxy-revalidate"
  3. also another way is to do like file.png?97887987979797 (not best...)
  4. another example from google: Cache-Control: "private, max-age=0" Expires: "-1"

这篇关于避免在Firefox中进行缓存控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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