Techreport blog

Engineering Insights & Guides

The best problem-solving writing in software engineering — databases, performance, security, frontend and distributed systems, in one feed.

11,841 articles
Frontend — Squash and Stretch

Squash and Stretch

Have you ever heard of Disney’s 12 Basic Principles of Animation? In this tutorial, we’ll explore how we can use the very first principle to create SVG micro-interactions that feel way more natural and believable. It’s one of those small things that has a big impact.

JWJosh W. Comeau·April 13, 2026Frontend
Design & UX — Managing context in long-run agentic applications

Managing context in long-run agentic applications

Excerpt In complex, long-running agentic systems, maintaining alignment and coherent reasoning between agents requires careful design. In this second article of our series, we explore these challenges and the mechanisms we built to keep teams of agents working productively over long time spans. We present a range of complementary techniques that balance the conflicting requirements…

DMDominic Marks·April 13, 2026Design & UX
Engineering — Welcome to Agents Week

Welcome to Agents Week

Cloudflare's mission has always been to help build a better Internet. Sometimes that means building for the Internet as it exists. Sometimes it means building for the Internet as it's about to become. This week, we're kicking off Agents Week, dedicated to what comes next.

RDRita, Dane KnechtRita, Dane Knecht·April 12, 2026Engineering
Engineering — Quick Hit #121

Quick Hit #121

Chrome 147 becomes the first to ship border-shape as well as the scroll range for view timelines.

DSDaniel SchwarzDaniel Schwarz·April 10, 2026Engineering
Frontend — Selecting a Date Range in CSS

Selecting a Date Range in CSS

A clever approach for selecting multiple dates on a calendar where the :nth-child()'s “n of selector” syntax does all the heavy lifting... even in the JavaScript.

PPreethiPreethi·April 9, 2026Frontend
SRE & Ops — Escaping the Fork: How Meta Modernized WebRTC Across 50+ Use Cases

Escaping the Fork: How Meta Modernized WebRTC Across 50+ Use Cases

At Meta, WebRTC powers real-time audio and video across various platforms. But forking a large open-source project like WebRTC within our monorepo presents unique challenges – over time, an internal fork can drift behind upstream, cutting itself off from community upgrades. We’re sharing how we escaped this “forking trap” – from building a dual-stack architecture […]

CWChris Wiltz·April 9, 2026SRE & Ops
Design & UX — Quick Hit #120

Quick Hit #120

Chrome 147 ships contrast-color() (the Color Level 5 version that only resolves to black or white), making it baseline.

DSDaniel SchwarzDaniel Schwarz·April 8, 2026Design & UX
AI & ML — Patterns for Reducing Friction in AI-Assisted Development

Patterns for Reducing Friction in AI-Assisted Development

The practices that make human pair programming effective—onboarding, structured design discussion, shared standards—apply equally to working with AI coding assistants. I propose five patterns that bring this collaborative scaffolding to AI-assisted development, shifting the experience from correcting a tool to collaborating with a capable teammate.

RGRahul Garg·April 8, 2026AI & ML
SRE & Ops — Trust But Canary: Configuration Safety at Scale

Trust But Canary: Configuration Safety at Scale

As AI increases developer speed and productivity it also increases the need for safeguards. On this episode of the Meta Tech Podcast, Pascal Hartig sits down with Ishwari and Joe from Meta’s Configurations team to discuss how Meta makes config rollouts safe at scale. Listen in to learn about canarying and progressive rollouts, the health checks […]

CWChris Wiltz·April 8, 2026SRE & Ops
Engineering — Alternatives to the !important Keyword

Alternatives to the !important Keyword

Cascade layers, specificity tricks, smarter ordering, and even some clever selector hacks can often replace !important with something cleaner, more predictable, and far less embarrassing to explain to your future self.

SMSaleh MubasharSaleh Mubashar·April 7, 2026Engineering
Performance — Principles of Mechanical Sympathy

Principles of Mechanical Sympathy

Modern hardware is remarkably fast, but software often fails to leverage it. Mechanical sympathy - a concept borrowed from racing and popularized in software by Martin Thompson - is the practice of creating software that is sympathetic to its underlying hardware. This practice can be distilled into a set of everyday principles: Predictable memory access, awareness of cache lines, the single-writer

CSCaer Sanders·April 7, 2026Performance