Cache invalidation for people who hate cache invalidation
Fine-grained invalidation is a graph problem you will lose. A generation counter is a single integer that cannot be subtly wrong — and for a blog, it costs you almost nothing.
Category
Core Web Vitals, caching, render budgets and the cost of every byte.
3 posts
Fine-grained invalidation is a graph problem you will lose. A generation counter is a single integer that cannot be subtly wrong — and for a blog, it costs you almost nothing.
LCP, CLS and INP are not abstract scores — each one maps to a specific resource decision. Give every decision a number and the score takes care of itself.
Most publishing stacks ship a framework, a hydration pass and a font stack to render what is, functionally, a text document. Here is what happens when you delete all three.