Optimizing Your System: Easy Steps to Clear Cache on Windows

Every time you open an application or visit a browser, your device stores your data, known as a cache. Doing this allows the device to process faster the next time you visit the same browser or application. 

A lot of cache files get accumulated over time. When left uncleared, it can get corrupted and cause devices to slow down or applications to crash.

Windows stores various different caches under different locations. So, let’s see how to clear the cache on Windows. 

How to Clear Cache on Windows

How to Clear Cache on Windows?

To clear the cache on Windows, you can go through the different caches in the different locations they are stored and clear them accordingly: 

Files Cache

Windows can store a lot of temporary files that are not required anymore. Most of them are saved under the local files cache.

You can follow the steps below to find them:

1- Press “Win+ R” shortcut to open the Run command box.

2- Type %temp% and click on Ok.


3- Press Ctrl + A to select all the files.

4- Right click on the files.

5- Select Delete.

Please note that Windows does not allow you to delete temporary files or programs that you have running in the background.

File Explorer Cache

The File explorer cache is related to the various files and folders in your device.

To delete the file explorer cache, you can follow the steps below:

1- Click on the Folder icon located at the bottom taskbar. 

2- Click on the three dots(. . .) located on the top right menu. 

3- Select Options menu.

4- Under the General Tab, Go to Privacy

5- Select Clear, located beside “Clear File Explorer History”.


Domain Name System (DNS) Cache

DNS cache stores data related to the recently visited website. It saves the domain name and IP address of the website that is viewed from the device.

To delete the DNS cache, you can follow the steps below: 

1- Click on the Search Tab located on the bottom left of your Windows.

2- Type “Command Prompt”. 

3- Right Click on Command Prompt. 

4- Select Run as administrator.

5- Type in “ipconfig/flushDNS”.


6- Select Enter.

You will receive a message on the same window stating “Successfully flushed the DNS Resolver Cache.”

Location Cache

Location history is saved by software and applications that use your location information.

See also  Create Your Own VPN Server on Windows: A Beginner’s Tutorial

To delete location cache; you can follow the steps below: 

1- Click on the Windows logo on the bottom left. 

2- Click on Settings, indicated by the gear icon.

3- Scroll down to Privacy.

4- On the left menu, Select Location under App permissions. 

5- Scroll down to Location History. 

6- Select Clear.

Windows Store Cache

The Windows Store cache saves files related to the different applications and software downloaded from Windows Store. To delete the Windows Store cache, you can follow the steps below: 

1- Press “Win+ R” shortcut to open the Run command box.

2- Type wsreset.exe and click Ok.

3- A blank box will pop up to indicate the cache being cleared. 


Once this is done, the Microsoft Store will open, which you can close.

Prefetch Cache

Prefetch cashes the files of the programs which you open most frequently and thus, reduces the loading time for those applications. In order to clear your prefetch caches, you can follow the steps:

1- Press “Win+ R” shortcut to open the Run command box.

2- Type prefetch and click OK.

3- Click “Continue” on the prompt message.

4- This will link to the prefetch folder.


5- Press Ctrl + A to select all the files.

6- Right click on the files.

7- Select Delete.

Software Distribution Cache

The software distribution folder contains cache relating to your software updates which you do not need after the update. The files are also safe to delete since you can download them again if required.

To clear the Software Distribution cache, you can follow the steps below:

1- Click on the Folder icon located at the bottom taskbar to open File Explorer.

2- From the menu on the left, Select This PC.

3- Click on Drive C.

4- Scroll down to find Windows and click on it.

5- Scroll down to the Software Distribution folder and click on it.


6- Click on Download.

7- Press Ctrl + A to select all the files.


8- Right click on the files.

9- Select Delete.

System Restore Point

System restore point helps users to recover from system failure. However, most of the cache files are not necessary and take up a lot of space in your hard drive.

You can follow the steps to clear System Restore Point:

See also  How to Launch Services in Windows 11: A Step-by-Step Guide

1- Click on the Search Tab located on the bottom left of your Windows.

2- Type “Create a restore point” and click on it. 


3- Click on “Configure”.


You can see how much space the System Restore Point is occupying. 

4- Click on Delete to delete the system restore point. 

You will need to create at least one system restore point to safeguard your device; you can follow the steps to do so:

1- Go back to “Create a restore point” box. 

2- Click on Create.


3- Input any name for the system.

4- Click on Create

As you will see, the new system will occupy much less space on your hard drive. 

Using Disk Cleanup

Windows also has a built-in Disk Cleanup program that allows you to clean out cache files. To do so, you can follow the steps below: 

1- Click on the Search Tab located on the bottom left of your Windows.

2- Type “Disk Cleanup” and click on it.

3- Select Drive C.

4- Click on OK.

5- Select Temporary Internet Files and other files you want to delete.


6- Click on Clean up system files.

7- Select Drive C.

8- Click on OK.

9- Once the Clean up tool scans your device, the box will also recommend other files for clean up.

10- Click OK.

How to Clear Cache on Browsers?

In addition to the Windows applications, you can also clear cache files stored in your browser. To clear Cache in various browsers, you can follow the steps below: 

Google Chrome

To clear cache in Google Chrome, you can follow the steps below: 

1- Click on the three horizontal dots, located on the top right corner of your Chrome window. 

2- Go to History.

3- Click on “Clear browsing data”.

4- Choose the time range. 

5- Check “Cached Images and Files” option.


6- Click on Clear Data.


To clear cache in Opera, you can follow the steps below: 

1- Click on the opera icon at the top left of your Opera window.

2- Select Settings.

3- Click on Advanced located on the bottom of the box.


4- Select Clear browsing data. 

5- Choose your time range and check cached images and files.

See also  11 Ways To Open Settings App In Windows (2024)

6- Click on Clear Data.


Internet Explorer

To clear cache in Internet Explorer, you follow the steps below: 

  1. Click on the gear icon at the top right of the page.
  2. Select Safety.
  3. Select Delete browsing history
  4. Select Temporary internet files and website files. 
  5. Click on delete.   


To clear cache in Firefox, you can follow the steps below: 

1- Click on the Hamburger Icon on the top right corner of your browser.

2- Go to Settings.

3- Click on Privacy & Security.

4- Under Cookies and Site Data, click on Clear Data.


5- Select Cached Web Content and Click on Clear.

Microsoft Edge

To clear cache in Microsoft Edge, you can follow the steps below:

1- Click on the three dots, located on the top right corner.

2- Go to Settings.

3- Select Privacy Search and services

4- Scroll down to Clear browsing data and click on Choose What to Clear.


5- Select the data you want to delete including Cached images and files and click on Clear


How to Check for Cache Memory in Windows 11 and 10?

You can find out how much of your RAM is being used by cache by following the steps below:

1- Click on the Windows logo.

2- Search for Task Manager and click on it.

3- Click on the Performance tab.

4- Go to Memory on the left panel.

5- You can see how much memory is cache under the Cached title.


Frequently Asked Questions:

How to Clear RAM in Windows 10?

Excessive RAM usage is never good for your system. Hence, an easy way to clear your RAM in Windows is to uninstall unnecessary apps and features.

You can follow the steps below to do so:

  • Go to the Windows logo.
  • Type Apps and Features. 
  • You will find all the apps that are installed. 
  • Click on the apps that you do not need anymore. 
  • Click on Uninstall.

How to Clear Cache in Windows 7?

The easiest way to clear cache in Windows 7 is through the inbuilt Disk Cleanup application that clears all the temporary files located on your desktop.

The process to use this app is similar to that of Windows 10. So, you can follow the steps mentioned above to use Disk Cleanup and get rid of the cache. 

Mohamed SAKHRI
Mohamed SAKHRI

I'm the creator and editor-in-chief of Tech To Geek. Through this little blog, I share with you my passion for technology. I specialize in various operating systems such as Windows, Linux, macOS, and Android, focusing on providing practical and valuable guides.

Articles: 1310

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *