DEV Community

#caching

HTTP caching strategies

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
My "prompt caching" change made the bill go up — here's what I got wrong

My "prompt caching" change made the bill go up — here's what I got wrong

Comments 2
5 min read
You Don't Need More Free Model Quota. You Need a Content-Addressed Cache.

You Don't Need More Free Model Quota. You Need a Content-Addressed Cache.

Comments 1
4 min read
Cache Invalidation — Stale Data

Cache Invalidation — Stale Data

Comments
10 min read
Rate Limiting — Throttling

Rate Limiting — Throttling

Comments
16 min read
Day 3 of 30: Caching, and Why Invalidation Really Is That Hard

Day 3 of 30: Caching, and Why Invalidation Really Is That Hard

Comments
4 min read
Beyond TTL: Explicit Cache Invalidation

Beyond TTL: Explicit Cache Invalidation

Comments
6 min read
Suspense, partial prerendering and the Cache Components Model in NextJs

Suspense, partial prerendering and the Cache Components Model in NextJs

Comments
9 min read
A failed read must throw, not return 0 — how Next.js ISR bakes your fallback into the cache

A failed read must throw, not return 0 — how Next.js ISR bakes your fallback into the cache

Comments 1
3 min read
I slashed AI API costs by 80% with a cache that actually works

I slashed AI API costs by 80% with a cache that actually works

Comments
3 min read
A Cache Key Is an Equivalence Relation

A Cache Key Is an Equivalence Relation

1
Comments
3 min read
The Thundering Herd Problem (Cache Stampede) — and How to Tame It

The Thundering Herd Problem (Cache Stampede) — and How to Tame It

Comments
5 min read
Understanding Next.js Page Caching (with a real example)

Understanding Next.js Page Caching (with a real example)

7
Comments
2 min read
How the LRU Cache Actually Works and Why Redis, Browsers, and Postgres All Approximate It

How the LRU Cache Actually Works and Why Redis, Browsers, and Postgres All Approximate It

Comments
4 min read
Exact vs semantic caching for LLMs: when each wins, measured

Exact vs semantic caching for LLMs: when each wins, measured

Comments
9 min read
The X-Inertia cache trap: Cloudflare, Vary, and edge-cached HTML

The X-Inertia cache trap: Cloudflare, Vary, and edge-cached HTML

Comments
1 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.