Home > Common Problem > body text

How to clear cache on Windows 11: Detailed tutorial with pictures

PHPz
Release: 2023-04-24 21:37:06
forward
10877 people have browsed it

What is cache?

A cache (pronounced ka· shay) is a specialized high-speed hardware or software component used to store frequently requested data and instructions that can be used faster to load websites, applications, services and other parts of the system efficiently. Caching makes the most frequently accessed data readily available.

Cache files are different from cache memory. Cache files are frequently required files such as PNGs, icons, logos, shaders, etc. that may be required by multiple programs. These files are stored in your physical drive space and are usually hidden.

Cache memory, on the other hand, is a type of memory that is faster than main memory and/or RAM. It greatly reduces data access time since it is closer to the CPU and faster compared to RAM. Cache helps speed up your processor's calculations, making your PC faster.

Cache is a relatively small type of storage that is further divided into 3 levels:

  • Level 1 (L1): L1 is the smallest ( Typically between 8KB and 64KB) and the fastest cache.
  • Level 2 (L2) and Level 2 (L3): L2 and L3 are larger and slower caches compared to L1.

You can view the cache size on your system from Windows Task Manager.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Why you should clear the cache on Windows 11

  • The cache may be corrupted:Corrupted cache files may cause The application or your system performs poorly or even crashes in the worst case scenario. Therefore, it is recommended that you delete these corrupt cache files before continuing to use your PC.
  • Clear Storage Space: While cache files are usually small, accumulating a large number of such files over a long period of time may take up more free space on your system than you expect. The solution is to delete this large chunk of cache files and restore the free space on your device.
  • Performance: The growing size of cache files will directly affect the overall performance of the system. Filling up cache storage can cause your system to run slower than you would normally expect.
  • Outdated Information: Sometimes older cache files may prevent you from accessing the latest version of an application or website on your system. You can resolve this issue by clearing cache files.

Is it safe to clear cache?

Clearing cache is safe. This is because clearing cache is not a permanent solution if you plan to revisit the app or website in question. At some point, these websites and applications will re-cache data on your system again.

In any case, the cache stores non-essential files and deleting them will not affect the general functionality of the related application or website. However, it can affect the loading speed of these apps or websites. To be clear, these load times will decrease once the app or website recreates the cache on your system again.

How to clear the cache on Windows 11 in 14 ways

Clearing the cache on Windows 11 takes a lot less time than you think. However, cache files on Windows 11 can be of various types depending on the source from which they originate. This also results in cache files being spread out across the system.

Follow the step-by-step tutorial below to learn about the specific type of cache you wish to remove from your PC.

Method 1: Delete temporary cache files [%temp%]

Press Windows R on the keyboard to start the run command.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Enter '%temp%' and press 'Enter' on the keyboard.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Now click on the Three Dots menu icon.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click "Select All".

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click the trash can icon.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

If you see the following prompt, check "Do this for all current projects" and click "Continue."

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

If you see the following prompt, select the "Do this for all current projects" checkbox and click "Skip."

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

That’s all. The cache files in the Temp folder will now be deleted.

Clear temporary files in system storage

Some cache files may not exist in a certain location, such as the Temp folder. Follow the step-by-step tutorial below to remove these scattered system cache files from your setup.

Press the Windows keys on your keyboard to open the Start menu.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

In the Start menu, search for "Storage Settings" and click on the same from the search results.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click "Temporary Files".

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Scroll down and click the checkbox next to the specific file you want to delete.

Note: There is a brief description after each file type. Please read this instruction before adding a file type to the removal list.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Now click on “Delete File”.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click "Continue" to confirm your choice.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

The selected files will now be deleted from your device.

Disk Cleanup

Microsoft's Disk Cleanup is a built-in tool that scans caches and other temporary files on your system. This includes DirectX shader caching, delivery optimization files, Windows error reporting, and more.

Let’s see how to use the disk cleanup tool.

Press the Windows keys on your keyboard to open the Start menu.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

In the Start menu, search for “Disk Cleanup” and click on the same from the search results.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click the drop-down menu.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Now click on the drive you want to clean.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Scroll down and click the checkbox next to the specific file you want to delete.

Note: There is a brief description after each file type. Please read this instruction before adding a file type to the removal list.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click "OK".

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click "Delete File".

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

If you see the following prompt, select the "Do this for all current projects" checkbox and click Continue.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Wait for the cleanup process to complete.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

The file you selected has now been removed from the system.

You can also use the Disk Cleanup tool to clean up system files. To clear system files, follow the steps below.

In the Disk Cleanup tool, click the "Clean System Files" option.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Select the drive containing the system files. On most systems this will be labeled the "C" drive.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Scroll down and click the checkbox next to the specific file you want to delete.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click "OK".

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click "Delete File".

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

The system files you selected will now be deleted.

Refresh DNS [Get Rid of DNS Cache Poisoning]

The Domain Name System (DNS) is like a phone book for the websites you visit on your computer. Specifically, DNS converts a domain name (such as www.google.com) into an IP address (8.8.8.8).

While DNS caching allows your computer to load websites easily, the number of these cache files can grow over time. In a worse case scenario, you may also encounter DNS cache poisoning, an event where a malicious proxy attacks and changes the IP addresses of these stores. In this case, it makes sense to flush the DNS. So, let's see how you do it.

Press the Windows keys on your keyboard to open the Start menu.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

In the Start menu, search for "cmd" and click it when it appears in the search results.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

In the command prompt, type the following command and Enterpress the keyboard when finished.

ipconfig /flushdns

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

The DNS cache has now been cleared.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Clear Microsoft Store cache

Like other applications on your system, Microsoft Store also stores cache data on your PC, in addition , you can also use the wssreset.exe file to delete these files. This can help you if you have purchasing issues, download issues, or the Store app simply won't load. Use the following steps to help you clear your Microsoft Store cache.

Press Windows R on your keyboard to open the "Run" command window.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Enter "wsreset.exe" and press "Enter" on your keyboard.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

The wsreset.exe file will clear the Microsoft cache without asking you for any permissions and then close automatically.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Clear Browser Cache

Web browsers store "static assets" of web pages you visit frequently on your PC so that you can access them later Access these sites faster when you visit. To be precise, "static assets" are assets of a website that remain more or less unchanged each time it is visited.

However, the version of website cache data stored on your PC may be an outdated version. This may further cause problems every time you try to access this particular website. In this case, clearing your browser cache might be the perfect solution.

Let’s see how to clear the cache of the 2 most popular web browsers used on PC: “Google Chrome” and “Mozilla Firefox”.

Google Chrome

Open Google Chrome on your PC and press Ctrl Shift Delete on your keyboard. This will open the Clear browsing data setting.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click "Time Range" and select the time range in which you want to delete Google Chrome cache.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

#Scroll down and make sure only the "Cached Images and Files" checkbox is selected.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click "Clear Data".

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Your Google Chrome cache is now deleted.

Firefox

Open "Firefox" from your PC and press the Ctrl Shift Delete keyboard. This will open the "Clear recent history" setting.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

#Click the Clear Time Range option and select the time range in which you want to delete the Firefox browser cache.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Make sure only the "Cache" checkbox is checked.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click "OK".

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

#This is how you can clear your browser cache on your PC!

Clear Location Cache

Your location history is stored as cache files on your Windows PC. To delete these files, follow the steps below.

Press the Windows i keyboard to open settings.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click "Privacy & Security" in the left sidebar.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Scroll down on the right side and click on the "Location" option under the "App Permissions" section.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Now scroll down to find the Location History option. Click "Clear" next to it to clear the same.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

The location cache is now cleared from your PC.

Clear your activity

Windows uses your activity history to personalize your experience. Activity history can be data like the websites you visit, or even how you use different apps and services on your PC. This activity history is associated with your Microsoft account.

However, if you want to delete your activity history, please follow the tutorial below to help you with the process.

Press Windows i keyboard to open settings.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click "Privacy and Security".

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程Scroll down on the right side and click Clear under Clear Activity History.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

You can also prevent Microsoft from storing your activity history on your device by making sure the checkbox shown below is unchecked.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Remove Prefetch Files

Prefetch files were first introduced in Windows XP to reduce the time required to boot a Windows PC. If your system is infected with malware and you're having trouble booting your system, it's entirely possible that you'll want to delete the prefetch files.

Note: Remember that prefetch files are used to reduce system startup time. Removing them will have an impact on your subsequent boot times.

So, with that in mind, let’s see how to clear prefetch files in Windows 11.

Press Windows R on your keyboard to open the "Run" command window.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Enter prefetch to run the command and press ENTER on the keyboard. This will automatically delete the prefetched files.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

However, this also opens the prefetch folder. In this case, select all files by pressing Ctrl A on your keyboard and then press Delete to delete the prefetched files.

Clear File Explorer Cache

File Explorer remembers files and addresses that you use frequently on your system. The quick access menu is a good example.

Like other applications, Windows also allows you to delete cache files that store this data. Let's see how you do it.

Press the Windows keys on your keyboard to open the Start menu.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

In the Start menu, search for "File Explorer" and click it when it appears in the search results.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click the 3-dot icon near the top of the File Explorer window.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click "Options". This will open the folder options.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click on the Clear option in the Privacy section.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Clear System Restore Cache

Deleting a system restore point in Windows 11 will automatically delete the cache files associated with it. However, we recommend that you be careful as this method involves deleting restore points, which will prevent you from restoring Windows in case you encounter BSOD in the future. Please follow the steps below to help you through the process.

Press the Windows keys on your keyboard to open the Start menu.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

In the Start menu, search for "File Explorer" and click it when it appears in the search results.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

In System Properties, click Configure.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

In the system protection options, click Remove.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click "Continue".

NOTE: Remember, this will delete the restore point. Therefore, please proceed with caution.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

The restore point and the cache files associated with it have now been deleted.

Use Storage Sense to automatically delete caches

If you don’t want to individually delete various types of cache on your computer, Windows 11 provides you with a built-in feature. This feature is called Storage Sense and can be used to automatically clear the cache on a regular basis.

Let’s see how to automatically delete cache using Storage Sense on Windows 11.

Press Windows ikeyboard to open Settings and click "System".

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Scroll down on the right side and click "Storage".

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Scroll down and click Storage Sense.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Make sure the checkbox under "Clean temporary files" is selected. Then, click and turn on the toggle under the Automatic User Content Cleaning section to enable Storage Sense.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Click the Run Storage Sense option and select the period of time you want Storage Sense to run regularly.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Similarly, select an appropriate time for the "Delete files in my Recycle Bin if they are already there" option.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Finally, select a suitable time for the "Delete files in my downloads folder if they have not been opened longer than" option.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

That’s all. Storage Sense is now active and will run according to the time period you set.

Clear Clipboard Cache

Windows 11 allows you to delete the clipboard cache in a few clicks. Let's see how you do it.

Press the Windows keys on your keyboard to open the Start menu.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Search for "Clipboard Settings" and click on the best match.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

In the right panel, scroll down and find the "Clear Clipboard Data" option. Click on the "Clear" option next to it.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Clear the display cache

The display cache on Windows 11 is used to store information related to your system's display. This data can be anything from the last resolution you used to the color mode. However, display caching is not without the problems that arise with other forms of caching. Additionally, if you are experiencing system display issues, you may just want to clear your display cache and reset your display settings.

Let's see how you do it.

Press the Windows keys on your keyboard to open the Start menu.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Search for "Registry Editor" and click on it from the search results.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Navigate to the following path. You can also copy-paste the same content in the address bar at the top.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers

##Note: Before proceeding, it is recommended that you create a restore point.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Right-click the Configure key and click Delete.

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Repeat the above steps to delete the other 2 keys: "Connectivity" and "ScaleFactors".

在 Windows 11 上清除缓存的 14 种方法:带图片的分步教程

Complete the process by restarting your PC.

FAQ

What is the difference between cache and cookies on a web browser?

Browser cache saves information such as images, files, and HTML data for a specific website so that the same website can load faster on subsequent visits.

However, cookies are used to store relatively small data, such as username, email, login data, shopping cart data, etc.

What is the file type of cached files?

On most web browsers, the .cache extension is used to store cached data. While this extension isn't exactly a file format, it does tell the user the file's primary function.

How to open cache files?

In order to open cache files, you need software that can open Snac-1.3 VDA files. However, you can also use online websites such as fileproinfo to analyze cache files and view the text stored in them.

Is caching fast?

Yes. Cache is one of the fastest types of memory on your PC. It's even faster than RAM.

This is because the cache is usually a very small piece of physical storage located very close to the CPU. Therefore, very few clock cycles (a unit of time in the CPU) are required for data to be transferred from the cache to the CPU.

What happens after you delete the cache on your web browser?

After deleting cache from your web browser, you will notice that some settings on specific websites have been removed. Some websites may also load slower.

The above is the detailed content of How to clear cache on Windows 11: Detailed tutorial with pictures. For more information, please follow other related articles on the PHP Chinese website!

source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template