How can I force Safari to perform a full page reload, without using the mouse?
Solution 1
Enable the Develop
menu from Safari menu - Preferences - Advanced
.
On Safari version 11.1 and above :
CMD+OPTION+R reloads the page ignoring cache.
On Safari version 9 and above :
CMD+SHIFT+R reloads the page ignoring cache.
Emptying caches seems not to reload the stylesheets everytimes…
On Safari below version 9 :
Empty cache and then reload so full "hot key" would be :
CMD+OPTION+E
Then
CMD+R to refresh the page
Of course probably turning opening and closing a New Private Window
from the File
would also work but…
Solution 2
The shortcut has now changed to OPTION + CMD + R. (Safari 11.1)
Solution 3
There is an option in the menubar Develop->Disable Caches. This is true for Safari 5.1. I'm not sure for the rest.
Solution 4
Turn on Private mode
and refresh the page. It won't get it from the cache in private mode.
Solution 5
Hard refresh was removed as a keyboard shortcut in Safari 5. The old command for that was ⌘+SHIFT+R
CTRL+F5 May work but I can't test here.
Related videos on Youtube
Gabe
Updated on September 17, 2022Comments
-
Gabe over 1 year
I'm using Safari to preview web pages as I develop them on my local server. I've got 'Disable Caches' checked in the Develop menu. And yet Safari is still working from a cached version of a stylesheet that's linked from the HTML file being displayed.
I can sometimes override this by Option-clicking the reload button in the location bar, but I want to refresh the page automatically when I save the CSS file. At the moment I'm doing it using an AppleScript that's bound to the Save action in my text editor. I could see using Keyboard Maestro instead. But I need some consistent way to force Safari to do a full reload from the keyboard.
-
unom over 10 yearsDo you have any extensions installed. Had this problem once with Adblock... It messed up one page in particular, thought it was a stylesheet problem too, tried everything... but it was Adblock messing with it.
-
-
Gabe over 13 yearsYes, that's how to refresh the page, but it doesn't bypass the cache.
-
Gabe over 13 yearsControl-F5 just selects the location bar, like Command-L.
-
Joe_Rose over 13 yearsThen it's been disabled completely. I found a number of threads complaining about it. There is an extension that I have NOT tested here: twitter.com/siracusa/status/15683201068 that may do what you want.
-
Gabe over 13 yearsNo, that extension just creates a button in the toolbar (which I guess some people prefer to the icon in the location bar). I also found a lot of threads complaining about it—i was wondering if someone on here had any special knowledge.
-
BruceM about 13 yearsShift + Click on the refresh button
-
Gabe almost 13 yearsPlease read the second sentence of my question again.
-
mist almost 13 yearsOops, I'm sorry :)
-
Gabe about 11 yearsPlease read the second sentence of my question.
-
Brian Tingle over 8 yearsthat didn't work for me on Safari 8
-
qasdfdsaq over 8 yearsAnd how does one click without a mouse?
-
rraallvv over 8 years@qasdfdsaq My bad, edited the question.
-
Jason almost 8 yearsSafari version 9.1.1 does not reload the page with Cmd-Shift-R. I have "Show Develop in menu bar" enabled.
-
sfletche over 7 yearscmd+shift+R didn't work for me in 9.1.3 either
-
Snowcrash about 7 yearsCmd+Shift+R didn't work in Version 10.0.1 (11602.2.14.0.7).
-
kerrin about 6 yearsWorks perfectly!
-
Vlad almost 6 yearsCheckout @sayan's answer below for a working shortcut