365

I don't know what exactly it's called, by cache refresh I mean, refresh the page after clearing its cache. I don't want to clear the entire browser cache.

I can't seem to cache refresh my pages. In Firefox, I know it to be Shift+Refresh.

In Chrome, I've tried Ctrl+R, Ctrl+Refresh, Alt+Refresh, Shift+Refresh but none of them work.

gAMBOOKa
  • 361
  • 2
  • 8
  • 17
  • 2
    My version's 4.0.206.1 Tried it again after making a change to my source code (PHP). Refreshed fine in FF with Shift+F5. Change didn't show up Chrome after Ctrl+Refresh. – gAMBOOKa Sep 07 '09 at 20:54
  • By "Ctrl+Refresh", do you mean actually clicking the refresh button? I don't know whether that works in Chrome; I'm nearly positive Ctrl+F5 works as expected, though. –  Sep 07 '09 at 20:58
  • 1
    Tried both with F5 and Refresh, Ctrl and Shift... no change. No proxy configured, – gAMBOOKa Sep 07 '09 at 21:19
  • This bug [has been fixed](http://code.google.com/p/chromium/issues/detail?id=1906) since the question was asked. This function did not exist and was added later. (Remember, Chrome is essentially beta software.) – Synetech Feb 22 '12 at 23:07
  • 13
    Command-Shift-R works in Mac (OS X 10.6.7 and Chrome 17.0.963.56). – Joe Mornin Feb 28 '12 at 14:44
  • 6
    On a mac: hold CONTROL and click Chrome's reload button – Mitch Fournier May 05 '12 at 19:04
  • Using SHIFT (not control) while clicking reload works for me on Mac – nicolas Dec 15 '13 at 21:57
  • For me, an extension [Clear Cache](https://chrome.google.com/webstore/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn) adds toolbar button. In options you can enable to `Reload active tab` after cleared cache. Also in extension manager you can assign keyboard shortcut to it to invoke it from keyboard. I use Ctrl+Del for this. – psulek May 29 '14 at 12:37
  • Keep a shortcut for chrome.exe -incognito or for IE, IExplorer.exe -private comes handy in task bar- these shortcuts helps to invoke private browsing which does not have knowledge of cache... – HydPhani Jun 06 '15 at 23:33
  • Ctrl+Shift+R works for me. Nevermind, tried all other combs with no luck. – m3nda Apr 30 '21 at 04:09

13 Answers13

369

Push F12 or Ctrl+Shift+J to "Open Developer Tools" on Windows (On Mac: Cmd+Opt+I) then you can right click on the refresh icon and select 'Empty Cache and Hard Reload'

screenshot

See: https://stackoverflow.com/questions/12633425/chrome-browser-reload-options-new-feature

The documentation says:

  • For Windows and Linux: Shift+F5 or Ctrl+Shift+R
    • (screenshot): enter image description here
  • For Mac: Cmd+Shft+R):

Reloads your current page, ignoring cached content.

Although some have reported this works, others have said it does not work correctly

Your other options are:

  1. JavaScript Console

    The JavaScript Console is available in two modes within Chrome DevTools: the primary Console tab, or as a split-view you can display while on another tab (such as Elements or Sources).

    To open the Console tab, do one of the following:

    Use the keyboard shortcut Command - Option - J (Mac) or Control -Shift -J (Windows/Linux). Select View > Developer > JavaScript Console.

    F12 doesn't appear to be mentioned here but will open this console on Windows as well.

    Chrome Developer Tools

    Using the JavaScript Console

  2. Incognito window

    Another interesting option is to open a new incognito window (Ctrl+Shift+N On Mac: + Shift + N.). This window won't use any stored cookies, cached content, or DNS resolutions, so you can test stuff in it without slowing your normal browsing down by dumping the cache. This is what I almost always do instead of clearing the cache. https://support.google.com/chrome/answer/95464

  3. Disable cache

    Open Chrome Developer Tools (F12, Mac: ++I). Click the settings icon (a gear in the bottom right corner). Check "Disable cache". Now when you browse with your Developer tools open caching is disabled.

  4. Click&Clean

    Finally there is also the option of the Click&Clean extension

Qsigma
  • 166
  • 1
  • 7
Paul C
  • 619
  • 3
  • 9
  • 21
  • 1
    You don't need to open dev tools. Also F12 is for windows. On mac : ⌥⌘I Source: https://developers.google.com/chrome-developer-tools/docs/shortcuts – basarat Mar 31 '13 at 01:56
  • Not sure if it was the Click&Clean and Ctrl-F5 but it finally worked for me. Thanks! – Patrick Apr 24 '13 at 14:14
  • Came here looking for a _quick_ solution, sick of Ctrl+F5 not working, but this is very long-winded: it's quicker or me to do _hold_ Ctrl+F5 a second or two (rapidly reloading), which _does work_. Other than that, I don't even see the option you allude to in the first para, but you seem to miss the basic F12->Network->Right-Click->Clear Browser Cache. Granted this does do the _entire_ cache (not cookie etc., though). – Grant Thomas May 13 '13 at 20:50
  • Does the first sentence in my answer not work for you _Push F12 then you can right click on refresh and select 'Empty Cache and Hard Reload'_ ? – Paul C May 14 '13 at 10:55
  • Still says "(from cache)" for the root file. I can even shut down the server on localhost completely and the browser STILL won't return an error!!! This is extremely painful for me as a dev... – Killroy Jan 26 '15 at 00:56
  • I'm pretty sure control-R used to work. Now control-F5 only seems to do it – Sebas Dec 01 '16 at 15:08
  • 1
    _Disable cache_ is on the _Network_ tab of Developer Tools now. – Neurotransmitter Dec 28 '16 at 09:51
  • 1
    I'm not sure why anyone said you do not need the dev tools open. For me, you need them open and then this works great. Thanks for the tip. – nycynik Mar 14 '17 at 21:54
65

Another interesting option is to open a new incognito window (Ctrl+Shift+N). This window won't use any stored cookies, cached content, or dns resolutions, so you can test stuff in it without slowing your normal browsing down by dumping the cache. This is what I almost always do instead of clearing the cache.

PriestVallon
  • 494
  • 4
  • 9
  • 25
  • 1
    +1 I find Chrome will cache file downloads. This is especially frustrating when I'm working on apache/nginx configs and I'm downloading index.php instead of viewing it. The only way is the clear the entire cache, use incognito, or use Firefox. – James Mar 14 '11 at 16:29
  • 1
    argh, except *sometimes* it doesn't work. I just spent 15 minutes trying to figure out why my externally loaded SWF file wasn't accurate. Firefox showed it as being correct, no keystroke refresh combo in Incognito Chrome cleared the SWF from cache, nor did clearing the actual Chrome cache and refreshing the Incognito window. I had to close and re-open Incognito window completely for the cache to finally let go of the SWF. Was working fine for about an hour until this happened :/ – danjah Feb 12 '12 at 22:39
  • Again 5 minutes later, this is not a reliable solution insofar as I can tell. Chrome v17.0.963.46 m – danjah Feb 12 '12 at 22:47
  • this will also disable extensions, which may go counter to some testing – Daniel Watrous Sep 06 '16 at 19:20
19

According to documentation, Ctrl+F5 or Shift+F5 should work. Maybe you have a proxy configured on IE & chrome, which is caching your page?

PriestVallon
  • 494
  • 4
  • 9
  • 25
pauloya
  • 145
  • 1
  • 8
9

A workaround is hitting reload very quickly twice in a row.

Josh Lee
  • 1,623
  • 2
  • 14
  • 19
  • 1
    Not in all cases it seems, I just had a page that didn't want to load because of earlier dns issues and Chrome simply refused to load it for about a minute... after that it worked again. – Wolph Sep 20 '13 at 11:51
  • aside from more direct ways like disabling cache under network tabs or in preferences, I sometimes find that refreshing the page more than ten times has the clearing effect. Just repeatedly hit refresh 10-15 times – roberthuttinger Jan 18 '18 at 17:15
9

I've had problems with Chrome refreshing in spite of using shift+F5 or +shift+r.

What I've found works though pretty brutish is to hold down +shift+r for a few seconds so that the browser makes multiple attempts to refresh the Java cache and fails. Then the next time it successfully retrieve JS from the server.

Mateusz Piotrowski
  • 4,016
  • 4
  • 28
  • 53
9

Chrome sucks for this. Sometimes I can get Shift+F5 to work but not always. My solution for the moment is to use the 'Click & Clean' extension. It's ugly but works every time so I'd recommend that for now.

Vomit IT - Chunky Mess Style
  • 40,038
  • 27
  • 84
  • 117
EightyOne Unite
  • 141
  • 1
  • 5
7

Open Chrome Developer Tools (F12 or Ctrl+Shift+I or Menu/Tools/Developer Tools). Click the settings icon (a gear in the bottom right corner). Check "Disable cache". Now when you browse with your Developer tools open caching is disabled.

Paul
  • 121
  • 1
  • 4
3

You can right click, go Inspect Element under the Resources or Application (in newer versions) tab collapse Cookies right click on domain name and click Clear.

simhumileco
  • 667
  • 7
  • 14
Dolphin
  • 285
  • 3
  • 9
2

Ctrl+Shift+F5 seems to work for me.

Oliver Salzburg
  • 86,445
  • 63
  • 260
  • 306
Todd
  • 1
  • 1
1

On Windows Ctrl + F5 for hard reload, and just F5 for reload.

On Mac + + R for hard reload and + R for reload.

hard reload clears the stored cache for that page.

If you're interested in just testing stuff out, go incognito. You can just close this window to clear all the temporary cache and history.

On Windows: Ctrl+Shift+N

On Mac: + Shift + N

abe312
  • 637
  • 5
  • 5
1

it could simply be your keyboard settings, check if you have the functions keys enabled or disabled, with my logitech keybaord it is the FMode key, similar to NumLock!

1
  1. Click the Tools menu. (the wrench in the upper-right corner)

  2. Select Options.

  3. Click the Under the Hood tab.

  4. Click Clear browsing data…

  5. Check the boxes for the types of information you wish to delete.

    • Clear browsing history
    • Clear download history
    • Empty the cache
    • Delete cookies
    • Clear saved passwords

You can also choose the period of time you wish to delete cached information using the Clear data from this period dropdown menu.

  1. Click Clear Browsing Data when ready.
0

<Google Chrome>

Reload the page by emptying cache:

Ctrl+F5, Shift+F5 or Ctrl+Shift+R

Reload the page by not emptying cache:

F5 or Ctrl+R

<Firefox>

Reload the page by emptying cache:

Ctrl+F5 or Ctrl+Shift+R

Reload the page by not emptying cache:

F5 or Ctrl+R