41

is there a difference between these two shortcuts on most browsers?

migrated from stackoverflow.com Oct 30 '10 at 20:47

This question came from our site for professional and enthusiast programmers.

  • 1
    My completely unresearched educated guess is that Ctrl+F5 generally refreshes the page without using cache while Ctrl+R or plain F5 refreshes the page using cache as normal. – MooGoo Oct 30 '10 at 20:42
48

Ctrl+F5 does indeed do a force cache purge for that page, while Ctrl+R does not.

  • 2
    so it is same as F5? – şaloma Oct 30 '10 at 21:05
  • 7
    @Infestor, in Firefox F5 and Ctrl-R are the same. Ctrl-F5 and Ctrl-Shift-R are the same too. Of course, that's only one out of many browsers. – Arjan Oct 30 '10 at 22:59
  • 1
    (As an aside: using F5/Ctrl-R might make a browser still ask the server if the content has changed by using If-Modified-Since headers, hence still leaving it up to the server to serve new content or not. Hitting Ctrl-L to get to the location bar and pressing Return, or selecting a bookmark makes most browsers rely on their cache without asking the server about any changes.) – Arjan Oct 30 '10 at 23:08
  • @Arjan is this the same for Chrome? Like it is in FireFox? – Kevdog777 Apr 29 '13 at 15:03
  • Yes, @Kevdog777, you can check using the developer tools (Option+Command+I on a Mac, and then peek into the Network pane). But in case you're asking as you're having problems with Chrome's cache, then see another answer. – Arjan Apr 29 '13 at 17:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.