18

The standard way (hamburger icon>Tools>Clear browsing data>Confirm) is slow, especially when you have to clear frequently during development. Currently, I hit F12 to bring up the Console, go to the network tab, and right click Clear cache, right click Clear cookies.

I have also tried extensions such as Cache Killer, but haven't found one I love.

Is there a faster way? One click for example?

1
  • 2
    Not the fastest way, but just a good thing to know: if the dev tools are open, you can clear the cache and refresh the page by right clicking the refresh icon and clicking "empty cache and hard reload" Feb 27, 2014 at 23:44

6 Answers 6

23

I'm on Mac and this is the shortcut: Shift+Command+Delete.

On Windows, it's Ctrl+Shift+Delete.

This link gives you all shortcuts for Chrome: Chrome Support: Mac keyboard shortcuts

4

I use the Chrome extension Clear Cache. It does the same as Chrome's own Clear Browsing Data dialogue, but you can assign a short cut (or just use the extension button next to the address bar) to it. I have mine set up to reload the page and remove any cache from the last hour by pressing Ctrl+Shft+R. It saves me a lot of time, not having to enter Chrome's dialogue, when editing a web site.

2
  • Are there any extensions that don't require "read and change all data on websites you visit"? Mar 12, 2015 at 20:54
  • Must say I doubt that, since cache is data on the sites you visit. So I'm guessing those permission is a requirement. I've done no research though. Mar 12, 2015 at 23:36
2

While this doesn't apply to the cookies, in the F12 Developer Tools setting, you can choose to disable cache while the Developer Tools is open.

Open Developer Tools and select the settings button in the top right corner. On the General page you can check the box.

2

This feature is built right into chrome. You don't need any extensions. If you bring up the developer console (F12) and press and hold the reload button you see a list of options.

  • Normal reload Ctrl+R or F5
  • Hard reload Ctrl+Shift+R
  • Empty cache and hard reload

So what you're looking for is the second one. Fastest shortcut.

Relevant question: What's the difference between “Normal Reload”, “Hard Reload”, and “Empty Cache and Hard Reload” in chrome?

2
  • 3
    This doesn't clear the cookies, I just tried it :( Oct 12, 2015 at 17:43
  • I also tried this on mac, it does not work. Oct 12, 2022 at 0:29
1

Not the fastest but similar to the F12 method and more user friendly:

  • Click in the "lock" symbol to the left of the url bar
  • "Cookies"
  • Select domain to delete (or single cookies) and "Remove" button
  • repeat for each domain :s
0

To prevent Cookie, LocalStorage or other session related data issues use an Incognito window every time you start.

If you want to start it from your IDE:

chrome.exe -incognito
2
  • Please read the question again carefully. Your answer does not answer the original question.
    – DavidPostill
    May 12, 2016 at 16:12
  • 1
    It's not a direct answer but it's a solution to prevent the need to clear the cache frequently during development.
    – Tom Hofman
    May 13, 2016 at 11:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .