How do i clear cache on my computer

The browser history—a list of every page you've visited online and the time you were there—is a standard of modern computing. And it can lead to trouble; it's practically a cliché. Think of the romantic "comedies" where a guy (it's always a guy) finds himself in hot water after his girlfriend looks at his browser history.

For most of us, sharing a PC is normal (sadly, setting up multiple user accounts is not) and handing off a smartphone to someone isn't unheard of. It doesn't matter if you're encrypting your emails, using Tor and VPNs while browsing to stay anonymous, or if you wear a false moustache at your desk: If someone has access to your devices, they can see where you've been.

A browser will hold your history indefinitely in the event you need to find your way back to a perhaps-forgotten corner of the internet you visited once upon a time. The reality is, it can be used against you by significant others, friends, coworkers, teachers, even the authorities. It doesn't even matter if you never stopped to look at the site's contents. These days, simply visiting can be impetus enough for outrage, blackmail, or whatever you fear most in reprisal.

Think that's fear-mongering? Hopefully it is, for 99% of us. But consider that back in 2016 an employee was accused in a Canadian court of destroying evidence(Opens in a new window) after he cleared the browser history of his own personal laptop. (In the end, he prevailed.) In the US, the Sarbanes-Oxley Act(Opens in a new window) is intended to prevent evidence deletion by corporations, yet it's been applied to at least one individual. (The caveat: The individual in question(Opens in a new window) also did a lot of other stupid things.)

Let's assume you're not a criminal and just want a little digital privacy. What can you do to keep your past visits hidden? Delete them. Regularly. Or perhaps make the smartest move of all: Don't store the data, ever. It may make your web travels a little less convenient, but that's the price of security. Here's how to remove the browser history.

How do i clear cache on my computer
How to Clear Your Cache on Any Browser


Desktop Browsers

Which Web Browser Is Best for You?

Like What You're Reading?

Sign up for Tips & Tricks newsletter for expert advice to get the most out of your technology.

Email

Sign Up

This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy. You may unsubscribe from the newsletters at any time.


Thanks for signing up!

Your subscription has been confirmed. Keep an eye on your inbox!

Sign up for other newsletters

About Eric Griffith

Features Editor

How do i clear cache on my computer

I've been writing about computers, the internet, and technology professionally for 30 years, more than half of that time with PCMag. I run several special projects including the Readers' Choice and Business Choice surveys, and yearly coverage of the Fastest ISPs and Best Gaming ISPs. I work from my home, and did it long before pandemics made it cool.

Do you experience unusual errors or crashes on your Windows 10 PC? Or have you noticed that something is taking away your PC’s storage space? Then, it might be time to clear the cache. The Windows operating system relies heavily on temporary files to perform its tasks. Cache files may become damaged or so huge that they affect your computer’s performance.

How do i clear cache on my computer

You can use several ways to clear the cache, which can be confusing. Luckily, in this article, you will learn the necessary steps to clear the cache using different methods. Keep on reading to find out!

How to Clear the Cache in Windows 10

There are a couple of basic methods that you can use to clear the cache on your Windows 10 PC.

Use Settings

In Windows, you have the option of clearing the cache or deleting temporary files through Settings. Here’s how:

  1. In the bottom left corner of the desktop, select the Start menu (the Windows logo).
    How do i clear cache on my computer
  2. Go to the Settings icon.
    How do i clear cache on my computer
  3. Select the System option on the menu bar.
    How do i clear cache on my computer
  4. Click on the Storage option.
    How do i clear cache on my computer
  5. After the Storage option, click Configure Storage Sense or run it now.
    How do i clear cache on my computer
  6. Go to the option that says, Free up space now and click clean.
    How do i clear cache on my computer
  7. Wait until the scan has finished.
    How do i clear cache on my computer

Disk Clean Up

The Disk Cleanup program can also clear cache or temporary data. Follow these steps to do so:

  1. Open the Run box by pressing the Windows key and the R key simultaneously on your keyboard.
    How do i clear cache on my computer
  2. Enter cleanmgr.exe into the command line and press Enter.
    How do i clear cache on my computer
  3. Then choose a location where you want to proceed.
    How do i clear cache on my computer
  4. After that, click Ok.
    How do i clear cache on my computer
  5. Go to the Clean up system files option.
    How do i clear cache on my computer
  6. Select All Items and click on OK.
    How do i clear cache on my computer
  7.  Click the Delete Files option.
    How do i clear cache on my computer
  8. Wait until the cleaning process is finished.
    How do i clear cache on my computer

Use Third-Party Apps

This is the simplest method for clearing your Windows 10 computer’s cache. Using software like CCleaner is as simple as clicking two buttons:

  1. Download and Install the CCleaner app.
    How do i clear cache on my computer
  2. Launch CCleaner
    How do i clear cache on my computer
  3. Click on Analyze in CCleaner.
    How do i clear cache on my computer
  4. Select Clean All from the drop-down menu.
    How do i clear cache on my computer

How to Clear the Cache Memory in Windows 10

A long-standing and frequently reported method of clearing your Windows memory cache is to utilize a custom shortcut that “should” do so on Windows 10 and earlier Windows versions.

  1. Go to your desktop.
    How do i clear cache on my computer
  2. Right-click and select Shortcut.
    How do i clear cache on my computer
  3. Type the following and press Next:
    %windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks
    How do i clear cache on my computer
  4. Provide an appropriate name for the shortcut.
    How do i clear cache on my computer
  5. Click on Finish.
    How do i clear cache on my computer

Once generated, the shortcut will be available for use. Double-click the shortcut any time you wish to initiate the procedure.

How to Clear the DNS Cache in Windows 10

Microsoft Windows 10’s DNS cache can be flushed to fix DNS-related issues. Errors such as “404 – Page not found” or “Unable to access this page because it has changed” are examples of possible problems.

Again, you can do this in two ways. Windows Command Prompt is the first option.

  1. Click on Start, then put cmd into the search box.
    How do i clear cache on my computer
  2. Choose Run as Administrator from the context menu when you right-click Command Prompt.
    How do i clear cache on my computer
  3. Enter the command ipconfig /flushdns (make sure a space precedes the slash).
    How do i clear cache on my computer
  4. A command box will be displayed briefly, and the DNS cache will be flushed.
    How do i clear cache on my computer

The second option is PowerShell in Windows. Here’s how:

  1. Click Start and type powershell into the search box.
    How do i clear cache on my computer
  2. Pick Windows PowerShell.
    Type in the following command and hit Enter.
    Clear-DnsClientCache
    How do i clear cache on my computer

How to Clear the Password Cache in Windows 10

Accessing secured file shares or starting RDP connections on the network will require that you preserve your credentials. Windows will remember your passwords for the next time you log in if you choose to do so. If you want to clear this password cache, you can do it in two ways.

You can use the control panel by following these steps:

  1. Open the Control Panel and select User Accounts.
    How do i clear cache on my computer
  2. The Credential Manager option may be found at the center of the page.
    How do i clear cache on my computer
  3. Choosing the Manage Windows Credentials type brings up a list of your stored credentials for network shares, remote desktop connections, or mapped drives.
    How do i clear cache on my computer
  4. The Remove option may be found by expanding one of the entries in the list and clicking on it will delete the cache.
    How do i clear cache on my computer

Or you can use the Run Command. Here’s how:

  1. Open the Run box by pressing the Windows key and R simultaneously.
    How do i clear cache on my computer
  2. Press Enter to execute the following command,
    rundll32.exe keymgr.dll, KRShowKeyMgr
    How do i clear cache on my computer
  3. Your stored usernames and passwords will be shown to you in a separate window. Choose one of the items and click Erase to remove a stored network credential.
    How do i clear cache on my computer

How to Clear the Ram Cache in Windows 10

Running out of RAM isn’t a primary concern unless you’re using a high-end setup. It takes up more memory if you have a lot of apps on your device. Stopping programs can indeed help free up RAM, but this isn’t always the case, and in those situations, it’s required to delete cache memory and reclaim space in the RAM. Again, there are a couple of methods for doing so.

Restart Your PC

Your data is stored on a hard drive without the need for external power. When you shut down your computer, all of your files are stored and ready to be accessed when you restart.

Your computer’s memory capacity is unique. To keep things in order, it must be supplied with a steady stream of electricity at all times. Everything in your computer’s system memory gets erased each time you shut it down.

Turning your PC off is the fastest way to erase the Windows memory cache. Whether you restart it or shut it down and restart it manually, the small break in power will delete the data housed therein.

Deactivate the Windows Superfetch

In most cases, it’s okay to leave Superfetch on, but if you’re experiencing frequent slowdowns, excessive RAM utilization, or a delayed startup, you might want to disable Superfetch first.

  1. Open the Register Editor by pressing Win + R on your keyboard, typing regedit, and clicking OK.
    How do i clear cache on my computer
  2. Select Yes when prompted by the User Access Control dialog box.
  3. In the Registry Editor, browse to HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters.
    How do i clear cache on my computer
  4. Right-click in the open window, go to the New sub-menu, then pick D-WORD (32 bit) Value.
    How do i clear cache on my computer
  5. Type EnableSuperfetchas the new value.
    How do i clear cache on my computer
  6. EnableSuperfetch should be set to 0 if you wish to deactivate Superfetch entirely. Double-click the EnableSuperfetch value, then under Value data, adjust it to 1 to enable apps, 2 to enable it for booting (or 3 to enable it entirely) if you’d like to make changes.
    How do i clear cache on my computer
  7. Click OK to confirm.
    How do i clear cache on my computer
  8. Once the file has been saved, restart your computer.
    How do i clear cache on my computer

How to Clear the Java Cache in Windows 10

  1. Open the Java Control Panel.
    How do i clear cache on my computer
  2. Under the General tab, go to Settings, which is located in the Temporary Internet Files section.
    How do i clear cache on my computer
  3. The dialog box titled Temporary Files Settings will display.
    How do i clear cache on my computer
  4. Select Delete Files.
    How do i clear cache on my computer
  5. The dialog box Delete Files and Applications will appear.
    How do i clear cache on my computer
  6. Click on OK. This clears the cache of all downloaded applications and applets.
    How do i clear cache on my computer

How to Clear the Icon Cache in Windows 10

To clear the icon cache database in Windows 10, shutdown any active applications and then perform the following steps:

  1. Open Start and type Command Prompt into the search box.
    How do i clear cache on my computer
    w
  2. Select Run as administrator by right-clicking the result.
    How do i clear cache on my computer
  3. To get to the location of the icon cache database location, use the following command and press Enter.
    cd %homepath%\AppData\Local\Microsoft\Windows\Explorer
    How do i clear cache on my computer
  4. To close File Explorer, use the following command and press Enter:
    taskkill /f /im explorer.exe
    When you exit File Explorer, your desktop backdrop and taskbar will vanish, leaving you with a black screen, which is normal; the black screen is only temporary. Close File Explorer before deleting the icon cache files. Otherwise, you will be unable to complete the task.
    How do i clear cache on my computer
  5. To remove the icon cache files, type the following command and press Enter.
    del iconcache*
    How do i clear cache on my computer

How to Clear the ARP Cache in Windows 10

  1. Type cmd in the Windows start bar, then right-click on the command prompt and select Run as administrator.
    How do i clear cache on my computer
  2. Open a command prompt with elevated privileges.
    How do i clear cache on my computer
  3. To examine the ARP cache, type in %windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks1
    How do i clear cache on my computer
  4. To clear the ARP cache, type %windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks2. The -a parameter causes the program to show the ARP cache, whereas the -d flag causes it to delete it.
    How do i clear cache on my computer

How to Clear Cache in Windows 10 Using Command Prompt

  1. In the Windows search bar, type cmd.
    How do i clear cache on my computer
  2. Right-click on the Command Prompt and select Run as administrator.
    When you launch cmd.exe as administrator, your commands will have elevated permissions and run from the system32 directory rather than as the currently logged-in user.
    How do i clear cache on my computer
  3. Now, you can type in a cleaning command to clear a specific cache type. You have numerous options for cleaning your PC’s hard disk or cache memory. One example is the method mentioned above to clear the DNS cache using the command prompt.
    How do i clear cache on my computer

Clear All the Cache

Clearing the cache is a good solution if you’re experiencing different issues with your Windows PC. The reason Windows maintains a cache is to aid in the performance of your computer, but if it is overflowing, it may be causing problems. Along with decelerating your hard disk, cache files can create program incompatibilities, which could result in crashes.

How to clear the cache in Windows 10?

Clear the Delivery Optimization cache - Microsoft Support In the search box on the taskbar, enter disk cleanup. Choose the Disk Cleanup app from the list of results. On the Disk Cleanup tab, select the Delivery Optimization Files check box.

Is it OK to clear Cached data on PC?

So if you clear your browser's cache and temporary internet files regularly, this helps your computer or device run optimally—and doing so can help fix certain problems, like a website loading slowly, or formatting issues on a web page.