Clearing the Cache in Windows 10: Quick Guide
Clearing the cache in Windows 10 frees up disk space, removes corrupted data, and can resolve performance issues. The most common cache types you can clear are the temporary files cache, the Windows Store cache, and the DNS cache.
Background: What Is Cache in Windows 10?
In operating systems, a cache is a temporary storage area that holds data the system expects to need again soon. Windows 10 uses several caches to speed up file access, application launches, and network requests. These caches are automatically maintained by the system, but over time they can grow large or become corrupted, which may slow the PC or cause errors.
How It Works: Where Windows Stores Its Caches
Windows 10 keeps cache data in a handful of well‑known locations:
- Temp folders – %TEMP% and %WINDIR%\Temp contain files created by installers, browsers, and system processes.
- Windows Store cache – %LOCALAPPDATA%\Packages\Microsoft.WindowsStore_8wekyb3d8bbwe\LocalCache holds downloaded app packages.
- DNS cache – stored in memory and can be flushed via command line.
- System restore and shadow copies – not true cache, but can be pruned to free space.
Each cache type has a different impact on performance and storage, so understanding where they live helps you decide what to clear.
Choosing Which Cache to Clear
Not every cache needs to be cleared every time. Use the following criteria to decide:
- Disk space concern – If your C: drive is below 20% free, start with temporary files.
- Performance lag – Slow app launches often point to a corrupted Windows Store cache.
- Network issues – DNS resolution problems can be resolved by flushing the DNS cache.
- Security or privacy – Temporary files may contain sensitive data from browsing or downloads.
Always back up important data before making large changes, even though clearing cache is generally safe.
Common Problems Solved by Clearing Cache
- Frequent crashes of the Microsoft Store – A corrupted store cache can cause the app to fail on startup.
- Slow page loads in browsers – Cached HTML and images can become stale; clearing the browser cache is a subset of the system temp files.
- DNS errors like "Server not found" – The DNS cache can hold outdated IP addresses.
- Insufficient disk space warnings – Temporary files often occupy dozens of gigabytes on a clean install.
Step‑by‑Step Instructions to Clear Cache
Below are the most common methods, each suited to a particular cache type.
1. Clear Temporary Files with Disk Cleanup
- Open the Start menu and type Disk Cleanup; click the matching result.
- Select the drive you want to clean (usually C:).
- Click Clean up system files and confirm.
- In the list, check Temporary files, Thumbnails, and Recycle Bin as needed.
- Click OK to delete the selected items.
2. Delete Windows Store Cache
- Press Win + R to open Run, type
wsreset.exe, and press Enter. - A blank command window will appear and close automatically after a few seconds.
- The Store will open and the cache will be cleared.
3. Flush the DNS Cache
- Open Command Prompt as administrator: type cmd, right‑click, and choose Run as administrator.
- Enter the command
ipconfig /flushdnsand press Enter. - You'll see a confirmation message that the DNS cache has been purged.
4. Remove Cached App Data Manually
- Navigate to
%LOCALAPPDATA%\Packages. - Find the folder that matches the app you want to clear (e.g., Microsoft.WindowsStore_8wekyb3d8bbwe).
- Open the LocalCache subfolder and delete its contents.
5. Use Storage Sense for Automated Cleaning
- Open Settings > System > Storage.
- Turn on Storage Sense or click Configure Storage Sense or run it now.
- Choose how often it runs and which file types it cleans.
- Click Run Storage Sense now to perform an immediate cleanup.
Alternatives and Third‑Party Tools
While Windows 10 provides built‑in tools, some users prefer third‑party utilities for a more granular approach:
- CCleaner – Offers a simple interface for clearing temp files, browser caches, and registry entries.
- BleachBit – Open‑source tool that can wipe cache, logs, and temporary data from many applications.
- Wise Disk Cleaner – Focuses on disk space optimization and includes a scheduled cleanup feature.
When using third‑party tools, review permissions carefully and ensure the software is from a reputable source. Most built‑in methods are sufficient for everyday maintenance.
Frequently Asked Questions
Why does my Windows Store keep crashing after an update?
Store crashes often stem from a corrupted cache. Running wsreset.exe clears the cache and forces the Store to rebuild its data, which typically resolves the issue.
Will clearing the cache delete my personal files?
No. Cache clearing removes only temporary or system‑generated files. Personal documents, photos, and installed applications remain untouched.
How often should I clear the temporary files cache?
If you install many programs or download large files, clearing temp files every few weeks helps maintain performance. Windows’ Storage Sense can automate this process if you enable it.
Can I clear the DNS cache without using Command Prompt?
Yes. Go to Settings > Network & Internet > Status, click Network reset, and restart the PC. This will also reset the DNS cache along with other network settings.
What happens if I delete the Windows Store cache folder manually?
Deleting the folder manually works, but the Store will recreate it when next launched. Using wsreset.exe is safer because it ensures the folder structure remains intact.