Wirebook

Wirebook › Glossary › Cache

What is a cache?

In one sentence: A store of answers kept nearby so they don't have to be worked out or fetched again.

A little more

Working something out or fetching it from far away takes time. A cache keeps a copy of the answer close by, so the next person who asks gets it instantly. Your browser caches pictures from sites you visit, and big websites keep caches in many cities.

The hard part is knowing when a saved answer is out of date. That's why caches give each copy an expiry time (max-age). A soft visit may keep showing an old logo until that timer ends, you hard-refresh, or the URL changes.

See it in action

  1. 3Can a website get tired?Why websites slow down or fall over when too many people visit at once.7 min · interactive
  2. BonusWhy does the website still show the old picture?Compare the logo on a pretend server with the copy on your browser shelf.6 min · interactive

Related words

← All 146 words