Folio vi · Articles
Published articles.
Articles about frontend infrastructure, CI/CD, system design, and the practical work behind reliable software.
- Articles
- 53
- Topics
- 102
- Reading time
- 13h 42m
- 01
The Average CI Build Is Not The One Your Engineers Wait For. Why I Measure P90, And What Took It From 81 To 52 Minutes.
Averages and medians describe the build nobody complains about. What P50, P75 and P90 each expose, how to measure them without fooling yourself, why you cannot average percentiles, and how safe parallelisation took successful-build CI P90 from 81 to 52 minutes.
Read article - 02
The Failure Your Frontend Monitoring Cannot See
Frontend observability tools start after your application bundle executes. That leaves a dangerous blind spot: the failures that prevent the monitoring SDK itself from loading. Here is the small browser beacon and release-context design that closes it without turning error reporting into another outage.
Read article - 03
One Green Rerun Proves Almost Nothing. What 20 Green Runs Taught Me About Flaky Tests.
A single rerun turns a failed test green, but it does not tell you whether the test is flaky, how often it fails, or what else fails beside it. The 20-run scoring pipeline I use to turn intermittent CI failures into an ordered engineering queue.
Read article - 04
We Blamed Vite For A 90-Second Local Load. The Real Bottleneck Was The 11,516 Modules We Asked It For.
A local Vite page took 90 seconds to load because eager route imports pulled 11,516 modules into one page load. Making routes lazy cut it to 54 modules and 10.54 seconds. The mechanism, how to count your own modules, and where the fix stops working.
Read article - 05
I Gave Claude 500 GB of Raw Footage. It Built a 29-Minute 4K Film.
A practical AI-assisted editing case study for first-time creators and experienced editors: 500 GB of footage, three rebuilds, custom cleanup, 3D maps and a finished 4K film.
Read article - 06
Every Browser Retry You Add Is A Small DDoS Attack. Stop Calling It Reliability.
Retries keep a single request alive, but at production scale they can turn an outage into a traffic multiplier. The browser needs a retry policy, not a setTimeout loop.
Read article - 07
loading="lazy" On Your Hero Image Waits For Your CSS. Same Page, Same Attribute: 16ms Slower In One Test, 428ms In The Next.
loading="lazy" on an above-the-fold image does not wait for a scroll, it waits for layout. Measured in Chromium, Firefox and WebKit: the lazy hero request starts right after the stylesheet lands, costing 16ms on one network profile and 428ms on another, why fetchpriority cannot rescue it, and why making everything eager is worse.
Read article - 08
setTimeout(fn, 0) Is Not Zero. In A Background Tab, Your 100ms Timer Runs Once A Minute.
The delay you pass to setTimeout is a minimum. Measured in Chromium, Firefox, WebKit and Node: the 4ms nesting clamp, hidden tabs throttled to 1 second, Chrome's once-a-minute intensive throttling after 5 minutes, a 30-day timer that fires instantly, and what to use instead.
Read article - 09
JavaScript Reads "2026-10-06" As UTC And "2026-10-06T00:00" As Local Time. Most Off-By-One Date Bugs Start There.
new Date("2026-10-06") is UTC midnight, new Date("2026-10-06T00:00") is local midnight. Tested in Chromium, Firefox and WebKit across three time zones: where the day slips, why Indian teams rarely see it, "06-10-2026" becoming 10 June, DST arithmetic, and what Temporal fixes.
Read article - 10
Chrome Stopped Running Your unload Handler. If Your Analytics Still Use It, Your Numbers Already Changed.
Since Chrome 154, unload handlers are off by default on every Chrome page load - they register without error and never run. Reproduced in Chromium: what it does to the Back button, which data quietly went missing during the seven-month rollout, and the pagehide pattern to use instead.
Read article