1

We all know a "Hard Refresh" (eg Ctrl+Shift+F5 or +Shift+R) will cause the browser to reload the current page (and other assets) from the server.

But what if that page contains a redirect (either from a meta tag or Javascript) that instantly redirects me to another page? How can I instruct the browser to load the page from the server?

I'm using Chrome and Firefox, but interested in solutions for any browsers.

3
  • I don't see the point of this question. If the page forwards, why do you need to do a hard refresh on the page? What could you be retrieving from the server ?
    – Dave
    May 14, 2014 at 5:36
  • Because the latest version of the page may do something else: in my case the url wasn't publicly accessible so it redirected elsewhere, and when it became publicly accessible, the cached page would keep redirecting me away from it. Of course, the implementation could be improved, but to debug I wanted to be able to do a hard refresh.
    – David Cook
    May 17, 2014 at 8:14
  • Related: superuser.com/questions/304589/…
    – David Cook
    Jul 7, 2014 at 6:01

2 Answers 2

2

It's also possible to clear cache from the source view:

Prepend the url in the address bar with view-source: (eg view-source:http://myurl.com), then perform a hard refresh.

1

Perhaps this is the best way in Chrome:

In the opened developer tools (Ctrl+Shft+I or ++I) in the lower right corner click the little settings icon (it's like a gearwheel).

Activate Disable cache check-box.

https://superuser.com/a/406331/126464

1
  • I had to do the same in Firefox. The accepted answer redirected me before showing the source.
    – mapto
    Jun 7, 2023 at 12:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .