How to Clear Cache in Windows 11 (original) (raw)
Last Updated : 23 Jul, 2025
Are you noticing that your **Windows 11 system is slowing down or taking up too much storage space? One of the most effective ways to **speed up your computer and **free up space is by **clearing the cache. Over time, **temporary files, **browser cache, and other **cached data can build up and cause performance issues.
Luckily, **clearing the cache in **Windows 11 is a straightforward process. In this guide, we’ll walk you through all the **ways to clear the cache on your **Windows 11 PC, including how to use **Storage Sense, **Disk Cleanup, **Command Prompt, and even third-party tools. Whether you're trying to **free up space, improve **system performance, or simply tidy up your computer, this article has you covered.
Table of Content
- 1. Flush DNS using Windows Settings
- 2. Clear the Location Cache
- 3. Clear the Microsoft Store Cache
- 4. Disk Cleanup
- 5. Using Storage Sense
- 6. Using Third-Party Tools
- How to Flush the DNS Cache: Bonus
1. Flush DNS using Windows Settings
Temporary files, system logs, and other files that might be deleted without harming your computer can be done in a few steps:
- Press **Windows + I to open Settings.
- Navigate to "System" and click on "Storage."
- Under the "Local Disk (C:)" section, click on "Temporary files."

- Check the boxes for the types of files you want to remove.
- Click ****"Remove files"** to clear the cache.

2. Clear the Location Cache
This feature enables Windows 11 to store and retrieve users’ location information, which can also be used to advance location-based services. This clears the cache that might be useful in privacy or troubleshooting location related problems. Here's how you can do it:
- Press **Windows + I to open Settings and go to "Privacy."
- Select "Location" under ****"App permission"** from the left sidebar.
- Scroll down to "Location history" and click on ****"Clear."**

3. Clear the Microsoft Store Cache
Sometimes, downloading or updating apps may be hampered by the MS Store cache. These issues may be resolved by clearing it up. Here's how you can do it:
- Press **Windows + S and search for "wsreset."
- Click on the ****"wsreset"** result, and a Command Prompt window will open briefly.
- Once the process is complete, the Microsoft Store cache is cleared.

Once the reset is complete, you can open the **Microsoft Store and check if the issue has been resolved.
4. Disk Cleanup
Microsoft has included disk cleanup as a part of your Windows 11 that will enable you get rid of temporary and cached files from your PC. Here's how you can do it:
- Open search bar then on input type ****"Disk Cleanup"**. To open search bar use shortcut Win + S
- In the ****"Disk Cleanup"** window, select your Windows 11 drive from the "Drives" drop-down menu and click ****"OK."**
- In the ****"Disk Cleanup"** window, check all boxes in "Files to Delete" to remove cache files. Click ****"OK"** at the bottom.
- Click ****"Delete Files"** to confirm.

**Disk Cleanup should be the first solution to erase all **cached files, especially from **system logs, **internet browsing, and **Windows updates.
5. Using Storage Sense
One of Windows 11 features is Storage Sense, which can clear space on its own by removing the temporaries and the bin contents. Here's a quick guide to perform this action:
- Press **Windows + I to access Settings and go to ****"System."**
- Click on ****"Storage"** and click on ****"Storage Sense"** and toggle it ON.
- Adjust the settings as per requirement to remove cache files.

By setting **Storage Sense to clear **cache files on a schedule, your system will stay clean and optimized.
If you have additional requirement, you can prefer cjhooisng third-party tool for custom setup of cache file deletion and optimize your PC conveniently. Here are some of the famous tool to perform this action:
- CCleaner
- BleachBit
- Glary utilities
These tools offers deep cleaning for your **Windows 11 computer, allowing you to remove any unused **cached files that cannot be traced or accessible through any of the Windows built-in tools.
How to Flush the DNS Cache: Bonus
Flushing DNS cache helps resolve website issues, update addresses, and improve connectivity. Follow the steps to do the same.
- Open Command Prompt as an administrator (**Windows + X and choose "Command Prompt (Admin)").
- Type the command **ipconfig /flushdns and press Enter.
- You'll then get a successful message for this operation (DNS clear).
Clearing the **DNS cache is especially useful when your internet connection is acting up or when websites are loading improperly.
Conclusion
**Clearing Cache in Windows 11is not a typical task to perform and is among the best way to keep your system clean and lag-free. Using such diversified procedures like clearing general cache or flush DNS record will enhance the smooth running of the users’ experience by avoiding problems that may arise. The best way is to inspect your system regularly and keep it clean and healthy.