366

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

13 Answers13

371

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
Paul C
  • 629
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.

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?

pauloya
  • 145
9

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

Josh Lee
  • 1,633
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.

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.

8

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
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
  • 697
  • 1
  • 7
  • 14
Dolphin
  • 305
  • 3
  • 9
2

Ctrl+Shift+F5 seems to work for me.

Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
Todd
  • 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
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