performance
4 posts
- Why the loading label never shows
The event loop, for interfaces: a Save button that never says Saving, a CSS animation that survives a busy page while a JavaScript one freezes, and then the rules underneath, stepped through until 1, 4, 3, 2 makes sense.
- Why they are still seeing the old version
You shipped the fix, you can see it, and they cannot. A chart that runs five sets of caching headers against the same six visits, with your deploy in the middle, and shows which visit finds out.
- The search box that stops keeping up
Big O, in the keystroke: two filter fields on the same list, one of them with a single quadratic line, measured per keystroke in your own browser. Then eight complexity classes to scale, on a log axis or a linear one, at a billion operations a second.
- Server-side A/B testing across 2,000 SEO pages
Client-side A/B testing has a blind spot. The users most likely to block scripts are exactly the users you most want to understand. Here's how I moved variant assignment to the edge and built a contextual CTA test with 100+ variants across Lunary's grimoire.