How can I force Safari to perform a full page reload, without using the mouse?

157,976

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 Windowfrom 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.

Screenshot

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.

Share:
157,976

Related videos on Youtube

Gabe
Author by

Gabe

Updated on September 17, 2022

Comments

  • Gabe
    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
      unom over 10 years
      Do 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
    Gabe over 13 years
    Yes, that's how to refresh the page, but it doesn't bypass the cache.
  • Gabe
    Gabe over 13 years
    Control-F5 just selects the location bar, like Command-L.
  • Joe_Rose
    Joe_Rose over 13 years
    Then 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
    Gabe over 13 years
    No, 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
    BruceM about 13 years
    Shift + Click on the refresh button
  • Gabe
    Gabe almost 13 years
    Please read the second sentence of my question again.
  • mist
    mist almost 13 years
    Oops, I'm sorry :)
  • Gabe
    Gabe about 11 years
    Please read the second sentence of my question.
  • Brian Tingle
    Brian Tingle over 8 years
    that didn't work for me on Safari 8
  • qasdfdsaq
    qasdfdsaq over 8 years
    And how does one click without a mouse?
  • rraallvv
    rraallvv over 8 years
    @qasdfdsaq My bad, edited the question.
  • Jason
    Jason almost 8 years
    Safari version 9.1.1 does not reload the page with Cmd-Shift-R. I have "Show Develop in menu bar" enabled.
  • sfletche
    sfletche over 7 years
    cmd+shift+R didn't work for me in 9.1.3 either
  • Snowcrash
    Snowcrash about 7 years
    Cmd+Shift+R didn't work in Version 10.0.1 (11602.2.14.0.7).
  • kerrin
    kerrin about 6 years
    Works perfectly!
  • Vlad
    Vlad almost 6 years
    Checkout @sayan's answer below for a working shortcut