What cache is and why you might clear it

Cache is temporary data your laptop stores to make programs run faster. When you visit a website, your browser saves images and files so the next time you visit, the page loads quicker. Your operating system does the same thing — it keeps copies of recently used files and settings in memory to speed up everyday tasks.

Over time, cache can take up disk space and occasionally cause problems. A program might use outdated cached data instead of fetching fresh information, or corrupted cache files can make an app behave strangely. Clearing cache won't speed up a slow laptop on its own, but it can free up gigabytes of storage and fix glitches when a program stops working right.

The cache you clear depends on what problem you're trying to solve. Browser cache affects websites. System cache affects your whole computer. Application cache affects individual programs. Most people only need to clear browser cache, which takes under a minute.

Key Takeaways

  • Browser cache is the easiest to clear and takes about one minute — open your browser settings, find the cache or browsing data option, and delete it.
  • Windows and Mac both have system cache you can clear, but doing so won't noticeably speed up your laptop unless you're critically low on storage space.
  • Clearing cache won't delete your passwords, bookmarks, or saved login information unless you specifically choose to delete those items too.
  • If a program is crashing or behaving oddly, clearing that program's cache is often faster than restarting your laptop.

How to clear browser cache in Chrome, Firefox, Safari, and Edge

Your web browser stores the most cache of any single program. Clearing it regularly prevents old website data from piling up and can fix issues where a website shows outdated information.

In Chrome: Click the three vertical dots in the top right corner, select Settings, then click Privacy and Security on the left. Choose Clear Browsing Data. A window will appear — make sure "Cached images and files" is checked, set the time range to "All time" if you want to clear everything, then click Clear Data.

In Firefox: Click the hamburger menu (three horizontal lines) in the top right, select Settings, then Privacy & Security on the left. Scroll down to Cookies and Site Data and click Clear Data. Check "Cached Web Content," then click Clear.

In Safari: Click Safari in the menu bar at the top, then select Clear History. Choose how far back you want to clear (All History clears the most), then click Clear History. Safari doesn't have a separate cache option — this command clears both history and cache together.

In Edge: Click the three dots in the top right, select Settings, then Privacy, Search, and Services on the left. Under Clear Browsing Data, click Choose What to Clear. Check "Cached Images and Files," then click Clear Now.

How to clear system cache on Windows

Windows stores system cache in a folder called Temp. Clearing it frees up storage space but won't speed up your computer noticeably unless your hard drive is nearly full. You can delete these files safely — Windows will recreate them as needed.

Open File Explorer and navigate to C:\Users\[Your Username]\AppData\Local\Temp. Replace [Your Username] with your actual Windows username. Select all files in this folder by pressing Ctrl+A, then press Delete. Windows may say some files are in use — click Skip All and continue. These files will be deleted the next time you restart.

For a more thorough system cache clear, use the Disk Cleanup tool. Press the Windows key and type "Disk Cleanup," then open it. Select your C: drive, click OK, and wait for the scan to finish. Check the boxes next to Temporary Files and Temporary Internet Files, then click Delete Files. This removes more cache locations than the Temp folder alone.

How to clear system cache on Mac

Mac stores system cache in hidden folders that are harder to access than Windows. Most people don't need to clear Mac system cache — the operating system manages it automatically and deletes old files when space runs low. Only clear it if you're running critically low on storage or a program is behaving strangely.

To clear Mac cache manually, open Finder and press Command+Shift+G to open the Go to Folder dialog. Type ~/Library/Caches and press Enter. This folder contains cache for all your applications. You can delete individual application folders here — for example, delete the Google folder if you want to clear Chrome cache, or the Firefox folder for Firefox cache. Do not delete the entire Caches folder, as some applications need their cache to function.

Alternatively, use the Storage settings to see what's taking up space. Click the Apple menu, select About This Mac, then click Storage. This shows you what's using the most space. Click Manage to see options for removing old files and cache automatically.

How to clear cache for individual applications

If a specific program is crashing, freezing, or showing old data, clearing just that program's cache is often faster than clearing everything. Most applications store their cache in the system cache folders mentioned above, but some have their own clear cache option built in.

In Microsoft Office: Open any Office program, click File, then Options (or Preferences on Mac). Look for a Cache or Temporary Files section and click Clear. The exact location varies by program — Word, Excel, and PowerPoint may have different menu paths.

In Slack: Click your profile picture in the top left, select Preferences, then Sidebar. Scroll down and click Clear Cache. Slack will ask you to restart the app.

In Spotify: Click the three dots next to your profile name, select Settings, scroll to Storage, and click Delete Cache.

If the program doesn't have a built-in cache clear option, you can delete its cache folder manually. On Windows, navigate to C:\Users\[Your Username]\AppData\Local\[Program Name] and delete the Cache folder. On Mac, go to ~/Library/Caches and delete the folder matching the program's name. Close the program first, then delete the folder, then restart the program.

What not to delete when clearing cache

When you clear cache, be careful not to accidentally delete things you want to keep. Most cache-clearing tools let you choose what to delete before you confirm, so read the options carefully.

Clearing cache will not delete your passwords, bookmarks, or saved credit card information unless you specifically check the box for those items. In most browsers, passwords and autofill data are stored separately from cache. If you want to keep your browsing history but clear cache, make sure the history checkbox is unchecked.

If you're clearing cache to fix a problem with a website, don't delete your cookies — cookies store your login information for that site, so deleting them will log you out. Most browsers separate cookies from cache, so you can delete one without the other.

When to clear cache and when not to

Clear browser cache regularly if you visit many websites or notice a site showing outdated information. Once a month is reasonable for most people. If you're having trouble logging into a website, clearing cache and cookies together often fixes it.

Clear system cache only if you're running low on storage space or a program is malfunctioning. Clearing cache won't make a slow laptop faster — if your laptop is sluggish, the problem is usually too many programs running at once, not cache. Restart your laptop first before clearing cache.

Don't clear cache immediately before important work. If you clear cache and then discover a website isn't loading properly, you may need to wait for cache to rebuild. Clear cache during a time when you're not actively using your laptop.

Frequently Asked Questions

Will clearing cache make my laptop faster?

Clearing cache alone won't noticeably speed up your laptop unless your hard drive is almost full. Cache is designed to make things faster, not slower. If your laptop is slow, the problem is usually too many programs running at once or not enough available memory. Restart your laptop first — that solves most slowness issues.

Can I clear cache without losing my passwords?

Yes. Passwords are stored separately from cache in most browsers. When you clear cache, uncheck the box for passwords, autofill data, or saved login information. You can delete cache while keeping passwords intact.

What happens if I clear cache while a program is running?

Close the program first before clearing its cache. If you clear cache while the program is open, it may cause the program to crash or behave strangely. Always close the program, clear the cache, then restart it.

Do I need to restart my laptop after clearing cache?

You don't need to restart after clearing browser cache. For system cache on Windows, restart your laptop so Windows can finish deleting files that were in use. On Mac, restarting is optional but recommended if you cleared a lot of cache.

How much storage space will clearing cache free up?

Browser cache typically uses 100 MB to 2 GB depending on how many websites you visit. System cache can use several gigabytes. The exact amount varies by how long it's been since you last cleared cache and how much you use your laptop. Check your storage before and after clearing to see the difference.