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 root address, all subsequent requests to foo.html
bypass the web server completely and ffox 5 will check it's cache, read that this url was '301'ed previously and redirect without even checking for a change.
If i have stopped foo.html
from 301'ing, I have to clear firefox's cache in order to 'fix' this from happening.
Chrome, IE and previous version of Firefox do not do this.
If you redirect from the old domain to the new domain with the 301 redirection, browser caches it too, and prevent's you to enter the old domain.
Open the Developer Tools Panel by pressing CTRL + Shift + i on Windows or Option + Shift + i on Mac. When you see a developer tools panel open, look the the left of your URL bar to see a refresh icon. Hold the refresh icon for a few seconds until a menu appears. Then click Empty Cache and Hard Reload .
Reverse proxy responded with a HTTP 301 that will be cached indefinitely by the browser, unless dictated otherwise by the 'Cache-Control' header (30 days in this example response).
In Firefox you have the "Web Developer" Tools (Ctrl+Shift+I). You can click "Network" tab and check the checkbox "Disable Cache" to check for new version of page every time. Then load the original URL and it will refresh your cache. Then you can enable the cache again and access that URL also from other tabs. So you don't need to clear your full cache.
From cptstubing06's comment, the following can help clear the cache:
about:config
to open the configuration settings.browser.cache
followed by Enter to filter the settings.browser.cache.check_doc_frequency
.3
to 1
.OK
.Firefox should now redirect to the new 301 page, no longer fetching the redirected page from cache.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With