1. Home
  2. Troubleshooting
  3. How to Clear Cache and Hard Reload Browsers

How to Clear Cache and Hard Reload Browsers

Cache is a collection of web pages including the texts, images and most other media contained on them, that is stored on your hard drive or phone storage. Having a local copy of a webpage helps in quick loading of the page on your next visit because your system or device doesn’t have to download the same information again from the internet.

Cached data in the browser sounds great, so why do you ever have to clear it?

You certainly don’t have to, not as a regular part of computer or smartphone maintenance, anyways. However, a few good reasons to clear cache comes to the way.

  1. Clearing your cache forces your browser to retrieve the newest copy available from the website, something that should happen automatically but sometimes does not.
  2. You might also want to clear your cache if you happen to face issues like 404 errors or 502 errors, sometimes indications that your browser’s cache is corrupted.
  3. Another reason to delete your browser’s cache data would be to free up space on your hard drive. Over time, the cache can grow up in space and so clearing it would add up to more productive space.

If you are making frequent changes to a web page, the caching mechanism can cause confusion. Some changed elements on the page may load and some may not because your browser is still using the older, cached version of the site rather than the updated version.

To troubleshoot this, you can try hard reloading the browser which allows to bypass the cache on your system and re-download everything for the web page thereby ensuring that you are viewing the most recent version of the web page.

In Windows, the shortcut for this is Control+F5 and on a Mac, the shortcut is Command+Shift+R.

Using Developer Tools

One of the ways to clear cache and hard reload the browsers without going through the browser menu is to use the browser’s built-in developer tools. This process is usually quicker than the browser-recommended process.

Using Chrome Developer Tools

Assuming you have the Chrome browser window opened, press Control+Shift+I on Windows and Command+Option+I on MacOS. This opens the Chrome Developer Tools. When the Developer Tools console is open, right click on the Reload button. A drop-down menu with three options is displayed:

  1. Normal Reload
  2. Hard Reload
  3. Empty Cache and Hard Reload

Normal Reload– Uses cached data. Press F5 to initiate normal reload.

Hard Reload– Forces browser to re-download items and reload. It is possible that used resources may come from a cached version. Press Control+F5 or Control+Shift+R to initiate hard reload.

Empty Cache and Hard Reload– Cache for the page is cleared completely, and everything will be re-downloaded.

Using Firefox Developer Tools

With Firefox browser open, press Shift+F2 to open the Developer Toolbar. This usually appears at the bottom of the browser window. Type “appcache clear”, then Enter, to clear the cache.

Using Safari Developer Tools

To enable clearing of cache and hard reloading in Safari for Mac, press Shift+Command+R button on the Safari Web Inspector. To force clear a single page’s cache, click on Shift+Reload button in the address or search bar. The advantage of this method is that it does not clear all other browser caches from Safari, it focusses on that specific page only.

Clearing the browser cache is quite simple to carry out in different browsers. Let’s have a look at some of them.

Chrome: Clear Browsing Data

In Google Chrome, clearing the browser cache is done via Clear Browsing Data area from Settings.

To clear cache on the Chrome browser, follow the steps mentioned below:

  1. Tap on the three dots on the top right corner of the browser window.
  2. Choose More tools and click on Clear browsing data.
  3. Select Cached images and files and Cookies and other site data. Click on Clear data.

How to Clear Cache and Hard Reload Browsers

In case you are using a mobile browser,

  1. Tap on the three dots at the top right corner of the mobile browser.
  2. Move to Settings > Privacy > Clear browsing data.
  3. Select Cached images and files and Cookies and site data. Click on Clear data.

Choose the time range at the top of the Clear browsing data section to initiate the process.

The keyboard shortcut for clearing browser cache data for Chrome is Control+Shift+Delete on Windows and Command+Shift+Delete on MacOS.

Internet Explorer: Delete Browsing History

In Microsoft Internet Explorer, clearing cache is done via Delete Browsing History option.

To clear browsing history on Internet Explorer:

  1. Open the browser and go to Tools at the top right corner.
  2. Tap on Safety, followed by Delete browsing history.
  3. Select Temporary Internet files and website files and click on Delete.

To clear the cache from the mobile browser, follow the steps mentioned below:

  1. Choose Internet Explorer from the apps list.
  2. Tap on the ellipses (three horizontal dots) at the bottom right corner of the screen.
  3. Scroll down and tap on Settings.
  4. Choose the delete history option.
  5. Tap on delete button to confirm.

Like other browsers, the keyboard shortcut for clearing of cache in Internet Explorer is Control+Shift+Delete.

Firefox: Clear Recent History

In Mozilla’s Firefox browser, you clear the cache from the Clear Recent History area in the browser’s Options.

Follow the below steps to clear the cache:

  1. Tap on the Hamburger icon (three horizontal lines) at the top right corner of the browser and choose Library.
  2. Choose History and then select Clear Recent History.
  3. A pop-up emerges. You can choose the time range to clear the cache. You can also choose the type of data you want to clear from the Details drop-down.

How to Clear Cache and Hard Reload Browsers

For the mobile browser, follow the steps mentioned below:

  1. Tap on the three dots at the top right corner of your mobile screen and then choose Settings.
  2. Choose Clear private data.
  3. Among the available options, choose Cache and click on Clear Data.

Firefox Focus is another mobile browser from Firefox that allows to clear the cache using the Erase button on the bottom-right of the app.

Safari: Empty Caches

In Apple’s Safari browser, the cache is cleared from the Develop menu. From the menu, choose the option Empty caches.

If you don’t see Develop on your Safari menu, enable it via Safari > Preferences, then Advanced, followed by selecting the Show develop menu in menu bar option.

How to Clear Cache and Hard Reload Browsers

Clearing the browser cache from the mobile Safari, like the one on your iPhone or iPad, is accomplished in the Settings app.

  1. On your device, open the Settings app and find the Safari section.
  2. Scroll towards the bottom and tap Clear history and Website data. Click Confirm to proceed.

The keyboard shortcut for clearing browser cache data on Safari is Option+Command+E.

Opera: Clear Browsing Data

Clearing the cache in Opera is done via the Clear browsing data option that is part of Settings.

  1. Open the browser and from the Settings, Privacy and Security section, select Clear browsing data.
  2. Check the option Cached images and files and click on Clear browsing data to confirm.

How to Clear Cache and Hard Reload Browsers

To clear the cache from the mobile Opera browser, follow the steps mentioned below:

  1. Tap on the Opera icon on the bottom right corner.
  2. Navigate to Settings (Gear icon) > Clear browsing data to choose what to delete: saved passwords, browsing history, cookies and data or all of them.

The keyboard shortcut for clearing the cache data in Opera is Control+Shift+Delete on Windows and Command+Shift+Delete on Mac.

Edge: Clear Browsing Data

In Microsoft’s Edge browser, included in Windows 10, cache is cleared via Clear browsing data menu.

On the Edge browser,

  1. Tap on the three dots at the top right corner and choose Settings.
  2. Go to Clear browsing data and click on Choose what to clear option.
  3. Select the option Cached data and files and hit Clear.

On the Edge mobile browser,

  1. Tap on the three dots at the bottom right corner and choose Settings > Privacy > Clear browsing data.
  2. Check the option Cached images and files and hit Clear.

The keyboard shortcut for clearing the cache data in Edge is Control+Shift+Delete.

  •  
  •  
  •  
  •  
  •  

Was this article helpful?

Related Articles

Leave a Comment