» Tag
caching
29 postsNext.js ISR and On-Demand Revalidation Explained
A practical look at Next.js ISR vs on-demand revalidation, cache tag strategies, webhook integration, and common caching mistakes to avoid.
Clipper Speeds Docker Builds 7x With Lazy Layer Pulling
Clipper, a custom BuildKit driver, exports cache mounts that ephemeral CI runners discard and skips unused runtime files, cutting Docker build times up to 7x.
When an LLM's Training Data Expires: Fixing a Car Pricing Engine
An AI car-pricing engine broke because its LLM recalled stale exchange rates, revealing risks of mandatory retrieval and cache provenance in LLM apps.
CommitBrief — AI code reviews, right in your terminal
A provider-agnostic, local-first CLI that reviews your staged changes, a historic range, or a whole GitHub pull request. Zero telemetry, no server. Free and open source.
commitbrief.comClaude Code's Prompt Cache Cost Depends on How You Launch It
Claude Code prompt-cache costs vary by launch path: measurements reveal a large fixed overhead and a subagent fan-out cost multiplier.
Partial Prerendering in Next.js: Static Shell, Dynamic Stream
Next.js's experimental PPR feature serves a static HTML shell instantly from the CDN while streaming dynamic Suspense sections from origin in the same response, replacing ISR tradeoffs.
How I Cut Agent Token Costs 60% With a 4-Layer Infrastructure Fix
An engineer's 4-layer infrastructure fix — span tracing, tiered caching, prompt compression, and complexity routing — cut agent token bills by 60%.
HTTP Gets a New Method: How QUERY Reshapes API Design
RFC 10008 defines HTTP's new QUERY method, letting APIs send safe, idempotent, cacheable complex queries without abusing POST semantics.
Prompt caching raised my bill — the write premium I missed
Turning on prompt caching increased costs due to a hidden write premium (~1.25x) versus cheap reads (~0.1x). Here's the fix and what to monitor.
How a Browser Video Renderer's Frame Time Was Cut by 80%
How four hidden bottlenecks in a browser video renderer were found and fixed, cutting frame time 80% and exposing a subtle opacity bug.
Claude Code vs OpenCode: Is That 33k-Token Preamble Worth It?
A teardown of Claude Code vs OpenCode shows why token count alone misleads on cost — caching behavior actually decides the real bill.