
Mark Kimmerle (in/markkimmerle) is a front-end developer with over 25 years of experience specializing in web accessibility and occasionally dabbling in Core Web Vitals. He spends his time advocating for semantic HTML, cleaning up legacy tech debt, and taking out the digital trash. He still uses two spaces after a period. When he isn't auditing accessibility backlogs or deleting dead scripts, he blogs at markkimmerle.com.
As a developer, I’ve always thought of myself as the “accessibility guy,” not the “performance guy.”
Semantic HTML and clean CSS were my bread and butter.
Sure, accessibility and performance tend to overlap — you can’t think about alt text without looking at the nuances of <img> elements, you inherently reach for <details> and <summary> instead of JS accordions, and clean CSS equals less CSS equals smaller render-blocking files to download — but performance was never the headliner.
Then I inherited an ecommerce site with FCP and LCP times north of five seconds, and performance became the entire show.
That first month? Oof. Sitting there in onboarding meetings watching those numbers stubbornly sit in Google’s “poor” zone while I knew I was supposed to be the fixer but couldn’t get access to the version control system was excruciating.
But the upside was that it gave me plenty of time to investigate, because that was pretty much all I could do.
I expected that investigation to be like CSI with a ton of profiling tools and network diagnostics. Instead, it was more like an episode of Hoarders where you’re shocked by how much clutter has built up through years of neglect.
And that’s the part that probably makes this more relevant, because it didn’t require a mastery of network waterfalls or browser APIs or any other shiny tools.
Digging into the code quickly revealed WHY the site was so slow: it was loading an absolutely ridiculous amount of stuff.
For example, I found:
- An entire Font Awesome library loaded globally for three icons that should’ve been inline SVGs
- Modernizr (in 2026!)
- Two — count ’em, TWO — full versions of jQuery at the same time (along with jQuery UI, of course)
- A Google Optimize anti-flicker snippet that had been deprecated in 2023
- And a homepage hero “system” that loaded separate desktop and mobile banner images and toggled them with CSS
display: none— forcing mobile users on flaky cellular data to download a 300KB desktop image they’d never even see
The site had been around for years and had been maintained by at least one agency along the way, so there wasn’t a neat little document somewhere explaining why every script existed, which systems still depended on it, or who owned the decisions behind all of it. And the accumulation of dozens of small decisions like these over the years meant the browser (and ultimately the end users) paid the price.
Figuring out what was actually dead was more difficult than finding it in the first place. The Google Optimize snippet was a good example of that. It was technically “deprecated,” but that didn’t automatically mean I could just delete it and move on. Somebody had presumably put it there for a reason. Was anybody still running experiments? Was some other system depending on it? Had the business stopped using Optimize years ago, or had the technical implementation simply outlived everyone’s memory of why it existed?
When I started asking those questions, the answer was surprisingly often some variation of:
“I don’t know.”
And that’s a perfectly reasonable answer. People leave, agencies change, vendors get replaced, and priorities shift. A developer adds something to solve a 2021 problem, and by 2026 the person who knew why it was there is long gone.
But “I don’t know” doesn’t exactly make removing something feel safe.
So once I got access to the code, I held my breath and did something I generally don’t like doing: making small changes based on the limited information I could gather, testing the heck out of them, and being prepared to back them out if I’d misunderstood something.
Not exactly “ask for forgiveness instead of permission,” but more like, “I’ve asked everyone I can think of, and apparently nobody knows, so I guess I have to find out the hard way.”
That approach made the work slower, but it also made the results much easier to understand. If removing something broke the site, I had a reasonably small change set to investigate. If nothing broke, I had one less thing to worry about.
When things did break (and they certainly did), that didn’t mean, “oh, well, I guess I’m stuck with this.” It just meant digging deeper and taking out smaller pieces to figure out what really needed to be there while letting the browser do a little less work.
After a couple weeks of trimming, testing and repeating, I was ready to deploy.
At that point, I was feeling pretty good about the work. I’d removed a lot of unnecessary code, the site still behaved the way it was supposed to, and my local testing looked a LOT better. I had enough evidence to believe I’d made a meaningful dent, and that I’d see the numbers drop immediately.
I thought it’d be magic.
And then… nothing happened.
All of my changes looked amazing in theory, but reality seemed completely unimpressed.
It honestly took me longer than it should’ve to figure out how CrUX and its 28-day rolling window actually works (remember: I’m not a performance guy, I just play one on TV).
Core Web Vitals field data isn’t a live feed. It’s real user data collected over a rolling 28-day window, which meant all those slow visits from before my fixes shipped were still quietly dragging the numbers down. But when you don’t know how CrUX works, that flat line can look an awful lot like failure.
Every day, I’d refresh my dashboard, see no movement, and wonder if I had any idea what I was doing.
But eventually, the old slow sessions aged out of the window, and the plateau turned into a cliff.
And it kept plummeting and plummeting and plummeting.
About a month later, FCP had dropped from ~5s to ~1.5s, and LCP was down from ~4.9s to ~1.7s.
No JS modules. No IntersectionObservers. Nothing fancier than finally cleaning out the garage.
I still don’t think I’m a “performance guy.”
In fact, the more I try to look at web performance, the more I realize how much I actually DON’T know. There are people I respect tremendously who spend their careers thinking about this stuff at a depth I’ll never even approach.
I’ve still got two other sites with INPs over 250ms to prove that point, along with 300-some-odd accessibility tickets in my backlog to boot.
But it doesn’t take a rocket surgeon to be patient, ask “why is this still here,” and then take out the trash.
And anyone can be that guy.
Wow it’s December already! pumped for another year of perf planet.
What tool produced those graphs? https://cruxvis.withgoogle.com was the closest I could find but they look a little different.