如何关闭FireFox缓存? [英] How to turn off FireFox caching ?

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

问题描述

亲爱的所有人,
我想关闭firefox缓存,我已经尝试了:

Dear all,
I want to turn off firefox caching, i have try :

<meta http-equiv="expires" content="0">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">






and

Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1))
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Response.Cache.SetNoStore()



但它不起作用,请帮帮我!
谢谢!



but it does not work, please help me!
Thanks!

推荐答案

尝试一下:

Try this:

<META HTTP-EQUIV="Cache-Control" CONTENT="max-age=0">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META http-equiv="expires" content="0">
<META HTTP-EQUIV="Expires" CONTENT="Tue, 01 Jan 1980 1:00:00 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">


1.打开FireFox浏览器
2.在地址栏中输入about:config
3.在搜索栏中输入缓存",然后查找:network.http.use-cache.
4.双击network.http.use-cache以将其设置为false. (顺便说一句,再次双击它会将其设置为true并重新启用缓存)





快乐的编码:)
1. Opened up the FireFox browser
2. Typed about:config in the address bar
3. Typed ‘cache’ in the search bar, and looked for: network.http.use-cache.
4. Double clicked network.http.use-cache in order to set it to false. (BTW, Double clicking it again will set it to true and re-enable the cache)





Happy coding :)


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

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