How to Clear Browser Cache, History and Cookies?

Modern Browsers like Safari, Firefox, and  Chrome attempt to keep local copies of pages, images, javascript, and stylesheets. Doing that ensures that your browser does not need to download these pages or resources again later.

Why is Clearing Browser Cache Necessary?

Usually, browsers know when they need to refresh the cache but under certain circumstances, this renewal procedure does not work as intended, and the browser insists on showing outdated content because it loads the cached resources instead of loading fresh and updated resources from your web server.

When this happens it is necessary to bypass the cache or clearing it completely.

Clearing the Browser Cache, History, and Cookies

Under certain circumstances, it may be worth clearing the entire cache of your local browser.

Below are some useful keyboard shortcuts to help you do it in the browsers: Safari, Microsoft Edge, Internet Explorer, Google Chrome, Firefox, Opera.

  • Most Windows browsers will use the keyboard shortcut below. This will open the cache clearing settings: Ctrl ⇧ Shift Del.
  • Safari browser uses the keyboard shortcut ⌥ Opt ⌘ Cmd E to clear all caches instantly.

Bypassing the cache

When you encounter strange behavior and website elements are not loaded as expected, you can also try bypassing your cache. That will force your browser to re-download a web page’s complete, up-to-date content. The rest of your cache is not affected.

Bypass your cache — Simple instructions ( source: Wikipedia )
In most  Windows and Linux browsers:

  • Hold down Ctrl and press F5.

In  Apple Safari:

  • Hold down ⇧ Shift and click the Reload toolbar button.

In  Chrome and Firefox for Mac:

  • Hold down both ⌘ Cmd+⇧ Shift and press R.