
As with clearing the cache in your browser, clearing the cache in Windows is a good start for troubleshooting system issues, improving system performance, and freeing up disk space. Here’s how to clear your cache in Windows 10.
与清除浏览器中的缓存一样,清除Windows中的缓存也是解决系统问题,提高系统性能和释放磁盘空间的良好起点。 这是在Windows 10中清除缓存的方法。
使用磁盘清理清除临时文件缓存 (Clear the Temporary Files Cache with Disk Cleanup)
To clear the temporary files cache, enter “Disk Cleanup”” in the Windows search bar found in the bottom-left corner of the desktop.
要清除临时文件缓存,请在桌面左下角的Windows搜索栏中输入“ Disk Cleanup ”。

Select the “Disk Cleanup” app, which will appear in the Windows search results.
选择“磁盘清理”应用程序,它将出现在Windows搜索结果中。

Once selected, Disk Cleanup will start calculating how much space you can free up on the operating system drive (C:).
选择后,“磁盘清理”将开始计算您可以在操作系统驱动器(C :)上释放多少空间 。

The Disk Cleanup for OS (C:) will now appear. Scroll down and check the box next to “Temporary Files.” You can also choose to delete files from other locations, such as “Recycle Bin” or “Downloads.”
现在将出现OS的磁盘清理(C :)。 向下滚动并选中“临时文件”旁边的框。 您还可以选择从其他位置删除文件,例如“回收站”或“下载”。
Once you’ve selected what you’d like to clear, click “Clean Up System Files.”
选择了要清除的内容后,单击“清理系统文件”。

Once Windows calculates the amount of storage space that will be freed up, you’ll be brought to the same page again. This time, select the files and locations a second time that you’d like to delete and then click “OK.”
Windows计算出要释放的存储空间量后,您将再次进入同一页面。 这次,再次选择要删除的文件和位置,然后单击“确定”。

A warning will appear, prompting you to confirm you are sure you want to permanently delete the files. Select “Delete Files.”
将会出现警告,提示您确认您确定要永久删除文件。 选择“删除文件”。

Disk Cleanup will now clean up unnecessary files on your machine. This process could take several minutes.
磁盘清理现在将清理计算机上不需要的文件。 此过程可能需要几分钟。
清除DNS缓存 (Clear DNS Cache)
If you want to clear your Windows 10 PC’s DNS cache, open Command Prompt as an admin. To do this, type “Command Prompt” in the Windows search bar found in the bottom-left corner of the desktop.
如果要清除Windows 10 PC的DNS缓存,请以管理员身份打开“命令提示符” 。 为此,请在桌面左下角的Windows搜索栏中键入“命令提示符”。

The “Command Prompt” app will appear in the search results. Right-click it and select “Run As Administrator” from the menu.
“命令提示符”应用程序将出现在搜索结果中。 右键单击它,然后从菜单中选择“以管理员身份运行”。

Next, run the following command:
接下来,运行以下命令:
ipconfig/flushDNS

You’ll receive a message letting you know you’ve successfully flushed the DNS Resolver Cache.
您会收到一条消息,通知您已成功刷新DNS解析器缓存。

清除Windows应用商店缓存 (Clear Windows Store Cache)
To clear the Windows Store cache, open “Run” by pressing Windows+R on your keyboard. The “Run” window will appear. In the text box next to “Open,” type WSReset.exe
and then click “OK.”
要清除Windows应用商店缓存,请通过按键盘上的Windows + R打开“运行”。 将会出现“运行”窗口。 在“打开”旁边的文本框中,键入WSReset.exe
,然后单击“确定”。

Once selected, a black window will appear. There’s nothing you can do here, so just wait a few moments while it clears the cache.
选择后,将出现一个黑色窗口。 您在这里无法执行任何操作,因此请稍等片刻,以清除缓存。

Once the window closes, the cache is cleared, and Windows Store will launch. You can close the Windows Store app if you like.
窗口关闭后,将清除缓存,然后Windows Store将启动。 您可以根据需要关闭Windows应用商店应用。
清除位置缓存 (Clear Location Cache)
To clear the location cache, click the “Windows” icon in the bottom-left corner of your desktop to open the start menu, From there, select the “Gear” icon to open Windows settings.
要清除位置缓存,请单击桌面左下角的“ Windows”图标以打开开始菜单,然后从中选择“ Gear”图标以打开Windows设置。

The “Settings” window will appear. Scroll down and select the “Privacy” option.
出现“设置”窗口。 向下滚动并选择“隐私”选项。

You’ll now be in the “Privacy” group of the settings. In the left-hand pane, select “Location,” found in the “App Permissions” section.
现在,您将进入设置的“隐私”组。 在左侧窗格中,选择“应用程序权限”部分中的“位置”。

In the next window, scroll down until you find the “Location History” group. Here, select “Clear” under the “Clear Location History On This Device” heading.
在下一个窗口中,向下滚动直到找到“位置记录”组。 在这里,在“清除此设备上的位置记录”标题下选择“清除”。

翻译自: https://www.howtogeek.com/679171/how-to-clear-your-cache-in-windows-10/