Blog

The "use cache" Directive in Next.js: A Guide to the New Caching Model
Caching in the App Router used to be something that happened to you. fetch calls were cached or not depending on the version, routes became static
Continue Reading
On-Demand Revalidation in Next.js with revalidatePath and revalidateTag
Caching makes Next.js pages fast, but cached content has an obvious problem: it can go out of date. Time-based revalidation helps, since you can tell
Continue Reading
Understanding the Next.js Caching Layers: Request Memoization, Data Cache, and Full Route Cache
Most confusion about caching in Next.js comes from treating it as one thing. You change a record in the database, reload the page, and the old value
Continue Reading
Form Validation in Next.js with Zod and Server Actions
Server Actions make it easy to accept a form submission, but they hand you a FormData object full of strings, nulls, and the occasional File. Bef
Continue Reading
Property-Based Testing in Python with Hypothesis
Example-based tests check the cases you thought of. That's their strength and their limit: if you didn't think of an empty list, a string with an emo
Continue Reading
MongoDB Sharding Explained: How to Scale Horizontally
Every database eventually runs into physics. A replica set can only hold as much data as its disks allow, only cache as much as its RAM allows, and o
Continue Reading