How to clear computer cache in Windows 11

This guide will help you discover 9 effective ways to clear computer cache in Windows 11 without discarding your vital files.

Mahima N.
Windows Technical Expert
7 min read
Add as a preferred
source on Google

Want to know how to clear computer cache in Windows 11 as well? Cache files are temporary files that are created by Windows and applications to help load content more quickly. These files enhance performance but can cause slow performance over time, storage issues, application errors and even issues with Windows updates.

Cache
How to Clear Cache in Windows 11

When your Windows 11 PC becomes slow, apps behave strangely, and you are running out of storage space, deleting the cache can help improve performance. Luckily, Windows 11 has a handful of inbuilt methods to safely delete various types of caches.

This guide will help you discover 9 effective ways to delete computer cache in Windows 11, and take you through each step to ensure you are optimizing your PC without discarding your vital files.

Quick Comparison: Which Cache Should You Clear?

Well, different types of cache serve different purposes. Here’s a quick overview to help you choose the right method:

Cache Type When to Clear Benefits
Temporary Files Low storage space Frees up disk space
Browser Cache Websites not loading properly Improves browsing experience
DNS Cache Website connection problems Refreshes network records
Microsoft Store Cache Store app errors Fixes download and update issues
Windows Update Cache Update installation failures Resolves Windows Update problems
App Cache Apps behaving unexpectedly Improves app performance
Location Cache Privacy concerns Removes stored location history

Common Mistakes to Avoid While Clearing Cache

Clearing the cache is usually safe, but there are some things you should avoid doing while clearing the cache:

  • Don’t delete files from unknown system folders.
  • Do not delete critical files while purging temporary files.
  • Don’t interrupt Disk Cleanup while it’s running.
  • Be sure to double-check items before deleting.
  • It works best to restart your computer after a big clean-out of the cache.

These precautions will help to ensure a smooth and safe cleanup process.

🛈 Note: Only temporary files are removed by clearing the cache. Your personal files, photographs, videos and apps are still secure.

Ways to clear computer cache in Windows 11

Knowing how to clear computer cache in Windows 11 can help improve system performance, recover valuable storage space, fix application issues, and troubleshoot Windows Update errors. For the best results, follow the ways listed below rather than waiting until your PC slows down.

#Way 1: Remove Temporary Files Using Windows Settings to clear computer cache in Windows 11

The easiest method to clear the computer cache in Windows 11 is by using the Windows 11 Storage settings.

1. Hit keys Windows + I for Settings. Click System in the left pane. Select Storage.

storage option in system
Storage option in system

2. Click Temporary files. Windows will check for removable cache files. Click to select the objects that you wish to remove. Click Remove files. Confirm the action.

remove temporary files in windows 11 storage to clear computer cache in Windows 11
Remove temporary files in Windows 11 Storage

This process clears the temporary files, thumbnails, recycle bin contents and other unused cache files from the system.

#Way 2: Use Disk Cleanup for Deep Cache Removal

One of the best tools in Windows that is used to eliminate unnecessary cache files is called Disk Cleanup.

1. Press the keyboard keys Win+S. Type Disk Cleanup in the search box.

open disk cleanup
Open Disk cleanup

2. Open the utility. Choose the system drive (usually C:). Then, choose the categories you wish to clean, such as these –

  • Temporary Internet Files
  • Delivery Optimization Files
  • Temporary Files
  • Thumbnails
  • DirectX Shader Cache

Click OK. To delete files, select “Clean up system files”.

run disk cleanup tool to clear computer cache in Windows 11
Clean up system files in Disk Cleanup

This may release a few GBs of storage depending on your system.

#Way 3: Enable Automatic Cache Cleanup with Storage Sense

Windows 11 can automatically remove the cache instead of manually removing the cache every few weeks.

1. Open Settings. Go to System > Storage.

storage option in system
Storage option in system

2. Turn on Storage Sense.

storage sense
Enable Storage Sense

3. To adjust Storage Sense, click it. Choose:

  • Cleanup frequency
  • Automatic User Content cleanup
  • Downloads folder cleanup (optional)

Save your settings. Storage Sense automatically eliminates unessential temporary files in the background on a regular basis.

storage sense cleanup of temporary files to clear computer cache in Windows 11
Automatic User Content cleanup in Storage sense

#Way 4: Clear Microsoft Store Cache to clear computer cache in Windows 11

Clearing the Microsoft Store cache usually fixes issues with apps not downloading, updating or opening.

1. Press Windows + R, type this and press Enter.

wsreset.exe
wsreset exe to clear computer cache in Windows 11
wsreset to Clear Microsoft Cache

2. Hold off until the command has been executed. Microsoft Store will automatically reopen. This wipes the Store cache, but leaves behind apps you’ve installed.

#Way 5: Flush the DNS Cache

When you visit a website, the DNS information is stored in the Windows registry to load the website faster. However, if there are any website loading errors, it might be an outdated DNS cache.

1. Run Command Prompt as Administrator.

open cmd as admin
Open CMD as Admin

2. Enter the following command in the open window. Press Enter.

ipconfig /flushdns
ipconfig flushdns to clear computer cache in Windows 11
ipconfig flushdns

A message will be displayed saying the DNS Resolver Cache has been properly flushed. This is especially beneficial in the case of a website being unreachable or if the IP address changes and is not recognised.

#Way 6: Delete Browser Cache

Web browsers store the images, scripts and cookies in their cache to speed up browsing. It’s possible these files might cause website loading problems or show the wrong content over time.

1. Open your browser. Hold down Ctrl, Shift, and Delete.

2. Choose Cached images and files. Set the time period/range.

delete browsing data in privacy and security to clear computer cache in Windows 11
Delete Browsing data in Privacy and security

3. Click Clear Data.

clear cache data google chrome for result code hung error
Clear cache data Google Chrome

This can be done in browsers like:

  • Google Chrome
  • Microsoft Edge
  • Mozilla Firefox
  • Opera

Also, discards browser cache issues with website formatting and login issues.

#Way 7: Remove App Cache Files to clear computer cache in Windows 11

There are some Windows applications that keep temporary cache separate, and they can accumulate large sizes over time.

1. Click on Windows + R. Type this. Press Enter.

%temp%
temp
temp

2. Select all files (Ctrl + A). Delete them. Ignore already opened files.

Delete Temporary Files to clear computer cache in Windows 11
Delete Temporary Files

All the temporary data generated by installed applications is stored in these folders.

#Way 8: Delete Location History Cache

Windows has included a location history that it stores to enable location-based services. Clearing this cache is a good idea if you want to remove location data stored or you want more privacy.

1. Open Settings. Select Privacy & Security. Click Location.

location in privacy and security
Location in Privacy and security

2. Find Location History. Click Clear.

recent activity or location history to clear computer cache in Windows 11
Recent Activity or Location History

This deletes location history, yet it does not impact the GPS performance.

#Way 9: Clear Windows Update Cache

At times, the Windows Update cache file may get corrupted, and the updates may fail to be downloaded from the Internet or installed.

Deleting the Windows Update cache is often a solution to Windows Update problems.

Does Clearing Cache Delete Personal Files?

No. The only way to clear temporary data is by clearing the cache, but this will not remove any temporary data that Windows or installed applications create.
Unless you intentionally delete them, your documents, photos, videos, downloads, installed software and personal settings are not affected.

Frequently Asked Questions (FAQs)


Yes. It’s safe to clear the cache as it’s just clearing the temporary files created by Windows and application use. Your personal information and installed programs are not affected.

Typical users should clear the cache only once a month. You can do a cache cleanup more often if you keep installing software, if you are surfing the web a lot or if you have performance issues.

In many cases, yes. Clearing out old temporary files can free up disk space, make applications more responsive, prevent errors in applications and enhance Windows performance.

No, as long as you choose only Cached images and files. Any passwords you save are not erased unless you select to delete them.
Share this article
https://www.kapilarya.com/how-to-clear-computer-cache-in-windows-11

Shareable URL

Article by

Mahima N.
Windows Technical Expert

Say Hey to Mahima, a tech buff. She enjoys writing both technical and non-technical drafts. When she's not typing away, you'll find her buried in books or off on some adventure. Mahima's all about trying new things and soaking up every experience life throws her way!

Leave a Comment

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