5 min read
Browser game performance that holds up
How I keep canvas and WebGL games smooth on weak phones and GPU-less machines: fps watchdogs, a light tier, no per-frame allocations, baked layers.

Measured web performance: bundle budgets, Core Web Vitals and where the milliseconds actually went.
5 min read
How I keep canvas and WebGL games smooth on weak phones and GPU-less machines: fps watchdogs, a light tier, no per-frame allocations, baked layers.

5 min read
A portfolio home page used a third of the main thread while nobody touched it. CSS loops, a WebGL hero and scroll effects, and the fixes that worked.

8 min read
How to compress an image to 100 KB or any limit: a binary search on JPEG and WebP quality, when to scale down, and sizes I measured on four real images.

3 min read
How Lab cards play a clip on hover while the page loads a 30 KB still: preload none, src on first hover, no clip on touch, Save-Data or reduced motion.

4 min read
How I build the loading screen for heavy WebGL demos: in the static HTML, CSS-only motion, a 1.6 s floor, a 10 s cap, and an exit on the first real frame.

5 min read
How srcset, sizes and picture let the browser pick the right image file, with MDN's rules and a size test showing what one 1200 px cover costs a phone.

4 min read
Which Cache-Control values a static site needs: revalidate the HTML, cache hashed files for a year, and how a Cloudflare Pages _headers file sets them.

4 min read
How the Speculation Rules API prefetches or prerenders the next page in Chrome: the JSON syntax, eagerness levels, limits, caveats and when not to use it.

5 min read
What Cumulative Layout Shift measures, the 0.1 and 0.25 thresholds, and the usual causes from images to ads, with the fix for each from web.dev.

4 min read
AVIF, WebP and JPEG compared with MDN's support data, plus file sizes I measured on 22 blog covers, and how to serve fallbacks with the picture element.

4 min read
How scroll() and view() timelines work, a reading progress bar in a few lines of CSS, animation-range names, browser support and the reduced-motion guard.

4 min read
Interaction to Next Paint explained: the 200 ms and 500 ms thresholds, the three phases of a slow interaction, and the fixes that web.dev recommends.

4 min read
How an ESLint rule, lazy registry chunks and a per-route budget script keep Three.js, PixiJS and MapLibre off the pages that do not need them.

4 min read
How a scroll-driven watch page loads 330 frames per size, with tiered downloads and a byte-bounded decode cache, and what 44 MB of frames cost.

4 min read
I tried inlineCss and a CSS split to fix render-blocking CSS on a static Next.js site. Both lost. The numbers, and what Next.js says about the trade-off.

4 min read
Why a WebGL hero can sink a lab performance score, how I skip it on software renderers, and what Chrome's SwiftShader removal changes for you.

3 min read
How to shrink a glTF or GLB for the web with glTF Transform, when to pick Draco or Meshopt for geometry, and how to load each one in Three.js.

3 min read
What works and what fails with output export in the Next.js App Router, from images and dynamic routes to redirects, headers and trailing slashes.

3 min read
What fetchpriority does, when to put high on the LCP image and low on carousel slides, how it pairs with preload, and which browsers support it.
