Index Ai Academy
Glossary · Phase 11 · Professional practice

Cache-aside

Read the cache first; on a miss, load from the source, store the result in the cache, and return it.

Try it now

The second "a" is a hit, so it moves to the newest end. When "c" arrives, "b" is the least recently used and is evicted.

Learn it properly

Caches, queues and background jobs · Speed reads with caches, and move slow work to queues that retry safely. About 40 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write