Google Chrome: How to purge cache for HTTP 301 and 302 redirects?

2018-02-24 Software

As a backend developer you may encounter a situation where you have to perform some HTTP redirects. This is a handy way to not let your visitors see a 404 error page. However what if you need to get rid of it? How to tell browser to stop redirecting?

In Google Chrome open new tab and type:

chrome://net-internals

Now in the top-right corner, you will see a dropdown.

Under tools section click on Clear cache.

That’s it. A temporary solution to this is to open a URL that performs a redirect (while it shouldn’t) in the new Incognito tab.