AI engineering glossary · Web APIs HTTP

What is caching?

Caching (also called HTTP caching): Storing a copy of a response so later requests can be answered without repeating the work or the network trip. HTTP defines headers to say who may store a response and for how long. It cuts latency, cost and server load.

Level: intermediateTopic: Web APIs HTTP

Caching: an example

A client stores a country list for 24 hours instead of requesting it on every page load.

Related terms

More Web APIs HTTP terms

Where you learn it

Caching is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.