Turn on Storage Sense so Windows deletes temporary files on its own schedule, then clear the other caches only when one of them is the actual problem: browser cached files for a page that looks out of date, the DNS resolver cache for sites that stop resolving after a network change, and the Microsoft Store cache with wsreset.exe. Each clear costs you something different. Everything here is built into current versions of Windows 11 and the browsers, no extra software.
What each clear costs you
Windows keeps several unrelated caches, and clearing the wrong one costs you something without fixing anything. Check what each tool takes away before you run it.
| Built-in tool | What you give up | When it helps |
|---|---|---|
| Settings Cleanup recommendations, Storage Sense, Disk Cleanup | Only what you select; check Large or unused files, Downloads and Recycle Bin before you confirm | Getting back space on drive C: |
| Edge or Chrome: cached images and files | Pages load a bit slower the first time | A web page shows an old layout or broken images |
ipconfig /flushdns |
Nothing; Windows looks names up again | A site stopped resolving after a router, VPN or DNS change |
wsreset.exe |
Nothing you keep | Clearing the Microsoft Store cache, for example when the Temp folder keeps filling with Store app files |
| Windows Update troubleshooter | Nothing you keep | Windows Update keeps failing |
| Repair, then Reset, in Installed apps | Try Repair first; Reset is the stronger option | One app behaves strangely |
Outlook is a special case with caches of its own; clearing Outlook’s RoamCache and offline data covers both the classic and new apps.
Get disk space back with Cleanup recommendations
Microsoft’s free up drive space page now leads with Cleanup recommendations rather than the older Temporary files page.
- Select Start > Settings > System > Storage > Cleanup recommendations.
- Review each category: Temporary files, Large or unused files, Files synced to the cloud and Unused apps.
- Select the items you want to delete, then select Clean up for each section.
Read each list before you confirm. Large or unused files can include things you still want, so tick items one at a time rather than a whole category. The image below shows the older Temporary files screen; current Windows 11 builds may look different.

Temporary files are only one kind of cache, and the full list of categories, the manual temp folders and what each one holds are covered in clearing temp files in Windows 11. Microsoft’s temporary files article adds one rule for anyone emptying folders by hand: stick to temp folders only.
Let Storage Sense do it on a schedule
- Go to Start > Settings > System > Storage and set Storage Sense to On.
- Select Storage Sense to open its options.
- Under Run Storage Sense, choose how often it runs.
- Pick time limits for Delete files in my recycle bin if they have been there for over and Delete files in my Downloads folder if they haven’t been opened for more than. If you keep files in Downloads on purpose, set that option so it never deletes them.
According to Microsoft’s Storage Sense page, it works on the system drive, and with default settings it runs when disk space is low.
Disk Cleanup for Delivery Optimization files
The classic tool still has a job. Microsoft’s Delivery Optimization FAQ uses it to clear the Delivery Optimization cache by hand: search for Disk Cleanup, select the Delivery Optimization Files check box, select OK, then Delete Files.
Clear cached images and files in your browser
A browser’s cache lives inside the browser, so Windows tools never touch it. Clear only Cached images and files if you want to stay signed in to websites; cookies are a separate checkbox.
Microsoft Edge
- Select Settings and more (the three dots) > Settings > Privacy, search, and services.
- Under Clear browsing data, select Choose what to clear next to Clear browsing data now.
- Pick a Time range, tick Cached images and files, and clear the other boxes you want to keep.
- Select Clear now.
Microsoft’s Edge browsing data page lists each checkbox, and its cache and cookies article gives Ctrl + Shift + Delete as the shortcut to the same panel. That article also warns that if sync is on, clearing data in Edge deletes it on your other synced devices too. Older Windows 10 screens are covered in clearing cache and cookies in Edge on Windows 10.
Google Chrome
Google’s Chrome browsing data help offers a shortcut: type Delete browsing data in the address bar and choose it. Tick Cached images and files, choose a time range, and select Delete data.
Reset the DNS resolver cache with ipconfig
Windows remembers which address each website name pointed to. After you change routers, switch VPNs or a site moves servers, an old entry can send you to the wrong place. Microsoft’s ipconfig reference says /flushdns flushes and resets the DNS client resolver cache, discarding negative entries and others added dynamically.
- Right-click Start and open Terminal. If the command reports a permissions problem, open Terminal as administrator instead.
- Type
ipconfig /flushdnsand press Enter. - Reload the site.
The browser-side DNS cache, PowerShell options and error messages are in flushing the DNS cache.
Clear the Store’s cache with wsreset.exe
Microsoft’s free up drive space page uses wsreset.exe to clear the Microsoft Store cache, for example when the Temp folder keeps filling with Store app package files after a cleanup:
- Press Windows logo key + R to open the Run dialog box.
- Type
wsreset.exeand select OK. - A blank Command Prompt window opens. After about ten seconds it closes and the Store opens on its own.
Once the Store reopens, the cache is cleared and you can use the Store as usual.
Windows Update that will not finish
Start with Microsoft’s troubleshooter rather than deleting update folders. Go to Start > Settings > System > Troubleshoot > Other troubleshooters, then select Run next to Windows Update. More detail is in running the Windows Update troubleshooter.
If updates still fail, the deeper resets, including what to do with the update download folder, are in clearing the Windows Update cache.
One app acting up: Repair or Reset
Some apps keep their own data that no Windows cleanup reaches. Microsoft’s app repair steps work for many of them:
- Select Start > Settings > Apps > Installed apps.
- Select the app, then Advanced options.
- Select Repair. If the problem continues, select Reset.
Microsoft notes that not all desktop apps support these options. Try Repair first, since Microsoft lists Reset as the next step only if the problem continues.
Leave these alone
- System folders Microsoft does not name. Microsoft’s cleanup instructions point to Settings, Storage Sense, Disk Cleanup and the temp folders. They do not tell you to empty Prefetch, WinSxS, System32 or other Windows folders by hand, so do not.
- Cleaner, optimizer and “RAM booster” apps. Everything on this page is built into Windows or the browser. Registry cleaners in particular are no part of clearing a cache.
- Downloads and Recycle Bin by default. Both can show up in cleanup lists. Clear them only when you have checked what is inside.
Example: a laptop shows a low disk space warning and a news site still shows yesterday’s layout. Those are two separate jobs: Cleanup recommendations for the space, then cached images and files in the browser for the site. Flushing DNS or resetting the Store would change neither.
On a Windows 10 PC, the matching steps are in cleaning up Windows 10, clearing temp files in Windows 10 and deleting temporary files with Command Prompt.
Windows cache questions
Does clearing Edge’s cache on this PC clear it on my phone too?
It can. Microsoft says that when sync is turned on, data you clear in Edge is deleted on all your synced devices. Turn sync off for that data type first if you want to clear only this PC.
Are Delivery Optimization files safe to delete?
Yes. Microsoft says Delivery Optimization clears its cache automatically after a short time or when it takes up too much space. Clearing it by hand frees space, and your PC simply stops sharing that content with other PCs until it downloads it again.
Will Storage Sense touch drives other than C:?
No. Microsoft describes Storage Sense as working on the system drive, so files on a second internal drive or a USB drive are left alone.
Next step: open Settings > System > Storage, check Cleanup recommendations, and turn on Storage Sense so the space stays free.

Kermit Matthews runs Live2Tech from just outside Philadelphia. He is an IT specialist with over 20 years of experience, from a university help desk to small-business IT, IT management and his own consulting practice, and has written tech guides full time since 2020. Steps are checked against the current software on a real device or the maker’s official documentation. More about Kermit.