HTTP Redirect
- 301: moved permanently
- 302: moved temporarily
Problem
There's issue with 301 redirect that the response will be cached indefinitely by browser, unless cache-control headers are set manually.
For migration purpose,
either use 302 to avoid losing control over redirect urls.
or set cache control headers manually
Cache-Control: no-store, no-cache, must-revalidateHow to fix?
https://superuser.com/questions/467999/clear-301-redirect-cache-in-firefox (opens in a new tab)
Network tab disable cache.
Or
Clear dns cache in chrome/FF
chrome://net-internals/#dns
about:networking#dns