← Back to glossary
C

INFRASTRUCTURE

Caching

Also known as: Cache

Definition

Caching stores copies of data temporarily to serve future requests faster. Instead of recomputing or refetching from a slow source, you return the cached copy — dramatically improving speed and reducing cost.

Simple Explanation

Caching is like keeping a shortcut in your browser history. Instead of going to the library every time you want that recipe, you bookmark it. Next time, you get it instantly.

Real-World Use Case

A news site caches its homepage HTML. Instead of querying a database for every visitor, it serves the pre-built page, handling 10x more traffic at 1/10th the cost.

Examples

CDN cachingRedisBrowser cacheStatic site generationIncremental Static Regeneration

Related Terms

Learn More

  • HTTP Cache Headers
  • Redis Documentation