All illustrations

Cache layer

A hit comes straight back from the cache, and a miss goes on to the database.

FreeShader · spot

Copy

Download

Open in

Cache layer: a hit comes straight back from the cache, and a miss goes on to the database.

Not quite it? Ask for a variation

Install

Writes one React component and its WebGL runtime into components/illos. Nothing else to install.

The live field draws with WebGL and comes with the one-line add. The SVG you copy or download is its still frame and its labels.

npx shadcn@latest add https://illos.dev/r/shader/cache-layer.json

Or hand it to your agent

Claude Code, Cursor, Codex and any other coding agent can add it from the prompt.

How it moves

  1. a request falls into the hot pool and splashes straight back: a hit in 2 ms.
  2. the next sinks through it into the deep database, which stirs.
  3. it rises back through the pool, which keeps it: 48 ms.

Where it fits

Use it to explain why your product is fast: a performance section on a landing page, a docs page about caching, or a blog post comparing cold and warm requests. The two numbers do the work, 2 ms for a hit and 48 ms for a miss, so a reader gets the point before reading your copy. As a spot illustration it fits a feature card, a pricing row for an edge cache, or an empty state for a cache dashboard. It is free to copy.

Pairs well with CDN cache, Load balancer, Memory and Latency heatmap.

On your site

Read where product illustrations go, how to place an animated SVG and how to keep animations fast.

For developers

File size
4.3 KB gzipped
Motion
Plays once, 4.2 s, then holds
Reduced motion
Shows a still
File
cache-layer.svg

Next in this theme.

Streaming tokens: the answer streams in chunks, and the response writes itself out line by line.
Shader · spotFree
Load balancer: traffic comes in one door, and the balancer spreads it across the servers in turn.
Shader · spotFree