Firefox 5 'caching' 301 redirects

后端 未结 9 599
时光取名叫无心
时光取名叫无心 2020-12-02 07:09

Is there any way to disable this \'feature\'?

For example, if a request is made to http://localhost/foo.html that I have specified to \'301\' to the roo

相关标签:
9条回答
  • 2020-12-02 07:44

    In Firefox Version 38.0

    Menu -> Edit -> Preferences -> Advanced -> Network -> Clear Now
    

    Worked for me.

    0 讨论(0)
  • 2020-12-02 07:54

    One quick fix is to use a private browser window.

    0 讨论(0)
  • 2020-12-02 07:59

    The developer tools built into recent versions of Firefox has a solution for this. First, turn off caching when the dev pane is open:

    • On any page, hit F12 to bring up developer tools
    • At the far right, click the gear icon "Toolbox Options"
    • Under Advanced Settings check the option Disable Cache (when toolbox is open)

    Now any time you want to force a refresh of a cached page, load/refresh the page with the F12 dev toolbox open. Firefox will bypass the cache and get fresh data from the server.

    I prefer this method because it doesn't change how the browser behaves for "normal" non-debug browsing, and you don't risk forgetting to restore a global setting to its original value.

    Verified in Firefox 39

    0 讨论(0)
提交回复
热议问题