docwhat's avatardocwhat's blog

Busting cached 301 redirects in Chrome.

The Chrome browser caches HTTP 301 permanent redirects very aggressively. This is normally a good thing, unless you’re the one setting up the 301 and you make a mistake…

There is no obvious place in chrome to refresh that cache, but there is a nifty trick.

Go to the URL:

view-source:http://cached-url/

This causes Chrome to recheck the page and will update any cached 301 rules.

Ciao!

Additional Links:

Comments

Gravatar for simon dingley
Simon Dingley

This used used to work but is no longer working for me in the latest chrome.

Gravatar for lluís
Lluís

Does not work for me! Chrome keeps redirecting even the view-source URL.

Gravatar for docwhat
docwhat

Yeah, at some point this stopped working. Grrr.

Submit a Comment

docwhat

The personal blog of Christian Höltje.
docwhat docwhat contact