What Does Cache Mean?

Temporary files are stored in the cache to make things run more smoothly

A cache (pronounced cash) is a repository of temporary files that a device uses to speed up the user experience. There's a cache in a variety of places, on all sorts of devices, and while every cache holds different information, they're all used for the same purpose.

The cache is what's responsible for your web browser being able to load recently accessed images quickly. Memory cache speeds up how screens appear on your computer. The cache in your phone's apps store relevant app information, and even your router can hold onto data for quick access.

Without a cache, our computers, phones, and other devices would not perform as quickly as they do right now. However, the cache isn't always beneficial; it can consume lots of disk space, deliver corrupt files, and even collect malware.

Person clearing cached images on a computer
Lifewire / Theresa Chiechi

What Browser Cache Is For

Most conversations involving describing a cache are dealing with the browser cache. The browser cache is a slice of hard drive space that's set aside to gather commonly used items accessed through a web browser.

These frequency accessed files are stored so that the next time you need that data again, the browser can open the files directly from the hard drive instead of redownloading them from the internet.

For example, when you visit a website, your browser downloads images and text to your computer (or phone, tablet, etc.). If you reopen the same page two minutes later, those same files are still present on your computer. When the browser sees that the data you're requesting is already readily available on your hard drive, it opens those files instead of downloading them again from the website's server.

The result is that the files are opened nearly immediately, saving you time. Less data is used, too, which is especially helpful for mobile users on limited data plans. Your phone doesn't have to download each image and web page repeatedly since it can restore the data from the cache.

Problems With the Cache

While benefits come with saving time and data, the cache can become corrupt and sometimes do more harm than good.

For example, a virus could download itself into your browser's cache, infecting your whole computer. Files can also become extremely outdated if the cache doesn't purge itself automatically, meaning that the pages you see could be irrelevant or even cause errors.

The cache is also usually fairly large and can take up gigabytes of data. Considering that some phones and computers have very limited storage, caches of all types should be cleared as needed, including browser caches and app caches.

All web browsers have the option to clear the cache. This helps free up disk space, improve overall performance, remove any corrupt files, and request brand-new data from the web server.

You might clear the cache on your device, program, browser, or mobile app if it's displaying things oddly, operating slowly, crashing randomly, or behaving differently than it does generally.