Term Library / Concept card

What is cache? Plain-English meaning

A cache is a temporary storage location that keeps copies of data or files so future requests for that information can be served faster and without repeating the original work.

Back to Term LibraryBrowse Articles

Path: /term/cache

Definition

A cache is a temporary storage location that keeps copies of data or files so future requests for that information can be served faster and without repeating the original work.

Also seen as: caching, cached copy, cache storage

Term library detailsSources attached
Library
Part of the Term Library
Format
Concept card
Last updated
September 7, 2026
Topic
Technology & Internet
Sources and further reading
4
Related articles
5

Plain-English explanation

Think of a cache as a shortcut. Instead of fetching the same file from a distant server every time, a cache stores a copy closer to you, so the next time you need it, it arrives quickly. Caches can live in your browser, on a network, or on a set of servers distributed around the world. They work by following rules that decide when to save a copy and when to check if the original has changed. This reduces waiting time, saves bandwidth, and lowers the load on the original server.

Why it matters

You encounter caches every time you load a webpage, watch a video, or use an app. Without caches, every visit would require downloading the same images, styles, and scripts from scratch, making the web feel slow and increasing data usage. Understanding caches helps you diagnose issues like seeing an outdated page or knowing why a site works offline. It also explains why a CDN can make a website feel fast no matter where you are in the world.

Concrete example

When you visit a news website, your browser cache stores the site's logo, CSS file, and a few images. The next time you open the same site, your browser loads those files from your local cache instead of downloading them again, so the page appears almost instantly. If the site uses a CDN, a copy of the content may also be stored on a server near you, reducing the distance the data has to travel.

Often confused with

People often confuse a cache with cookies. Cookies are small text files that store information about you, like login status or preferences, and are sent with requests. Caches store entire files, like images or scripts, and are used to speed up delivery. Another common mix-up is thinking that clearing your cache deletes your passwords or personal data; it only removes stored copies of files, so you may need to re-download some content but you won't lose your account settings.

Short definition: A cache is a temporary storage location that keeps copies of data or files so future requests for that information can be served faster and without repeating the original work.

Plain-English explanation

Think of a cache as a shortcut. Instead of fetching the same file from a distant server every time, a cache stores a copy closer to you, so the next time you need it, it arrives quickly. Caches can live in your browser, on a network, or on a set of servers distributed around the world. They work by following rules that decide when to save a copy and when to check if the original has changed. This reduces waiting time, saves bandwidth, and lowers the load on the original server.

Why it matters

You encounter caches every time you load a webpage, watch a video, or use an app. Without caches, every visit would require downloading the same images, styles, and scripts from scratch, making the web feel slow and increasing data usage. Understanding caches helps you diagnose issues like seeing an outdated page or knowing why a site works offline. It also explains why a CDN can make a website feel fast no matter where you are in the world.

Concrete example

When you visit a news website, your browser cache stores the site's logo, CSS file, and a few images. The next time you open the same site, your browser loads those files from your local cache instead of downloading them again, so the page appears almost instantly. If the site uses a CDN, a copy of the content may also be stored on a server near you, reducing the distance the data has to travel.

Common confusion

People often confuse a cache with cookies. Cookies are small text files that store information about you, like login status or preferences, and are sent with requests. Caches store entire files, like images or scripts, and are used to speed up delivery. Another common mix-up is thinking that clearing your cache deletes your passwords or personal data; it only removes stored copies of files, so you may need to re-download some content but you won't lose your account settings.

Related terms

HTTP cache, CDN, Service Worker, Cache-Control, Browser cache

Practical tips

Array

Common questions

Array

Key takeaways

Array

Step by step

Array

More context

Caching is a fundamental concept in computing, not just for web browsers but also for CPUs, DNS, and databases. In web contexts, caches can significantly reduce server load and improve user experience. However, caching must be carefully managed to avoid serving stale content, and techniques like cache-busting (appending version numbers to URLs) are used to force updates.

Additional background

Caching is a technique that stores copies of data in a temporary storage location to reduce latency and network traffic. In the context of the web, caching occurs primarily in the browser and on intermediate servers. When a user visits a website, the browser saves static resources like images, style sheets, and scripts. On subsequent visits, these files are loaded from the local disk instead of being downloaded again, significantly speeding up page load times. HTTP provides explicit control over caching through headers, allowing servers to specify how long a resource can be reused. However, caching can also cause issues when content is updated, leading to stale versions being displayed. Developers use various strategies, such as fingerprinting file names or setting short cache lifetimes, to balance performance and freshness. Understanding cache behavior is essential for web performance optimization and troubleshooting user-facing problems.

Sources and further reading

  1. HTTP cachingMDN Web DocsHTTP caches store responses and reuse them for later matching requests.
  2. Cache-Control headerMDN Web DocsCache-Control directives control HTTP caching and how browsers and shared caches store responses.
  3. Service Worker APIMDN Web DocsService workers run in the background and use CacheStorage to enable offline websites and caching.
  4. What is a CDN?Cloudflare Learning CenterCDNs are distributed networks of servers that cache website content close to visitors.