Website Optimization Measures, Part XL
Published on Dec 3, 2026, filed under development, optimization. (Share this post, e.g., on Mastodon.)
An update!—featuring a new episode of this series in which I share improvements and lessons from the maintenance work on my projects to enable you to cherry-pick what may benefit yours:
Stopping to version website patch updates. I version most of my development work—not just tools, but also websites and books (the latter because I maintain them, too). For websites I adjusted the practice, however, moving to a lighter model of only marking major and minor releases, with a patch part that I now indicate via an “x.” At the time of writing this, meiert.com, for example, is at 13.20.x.
Trimming
viewportmetadata. I had missed it, thatinitial-scale=1wasn’t needed anymore onviewportdirectives. From Declan Chidlow (via Peter-Paul Koch) I learned that that was now superfluous. I promptly trimmed and aligned this in all my projects.Reviewing indexing metadata and sitemaps. Poking around some of my WordPress sites, I also took a look at search-related data. Neither a spectacular activity nor with with spectacular results, but in one case that surfaced author data leaked with a plugin-generated sitemap. A non-spectacular story short: Poking around may well surface privacy issues.
Implementing
light-dark(). I reworked a few of my sites, including meiert.com and dxsrc, to almost entirely dropprefers-color-scheme: darkmedia queries forlight-dark(). While my Lightning CSS config undoes some of this again—it works!Adding select tests. Nothing new given that this is a central AI development practice, but even for websites I’ve begun adding tests for central functionality. I’ll probably keep this light, but it was something I’ve just recently started doing—for the tools I maintain, tests are a requirement.
Aligning GitHub workflow names. I’ve built a habit around naming (and quoting) workflow steps (e.g.,
name: "Install dependencies"), but apparently not consistently. AI-aided and following the spirit of regular maintenance, I ensured that all workflows were named consistently.AI-reviewing CDN settings. As this was significantly faster and more effective than any alternative, I’ve used one of my primary LLMs to review my CloudFront settings (after Serverspace turned out to be a disaster—do not bother). That review focused on best practices, security concerns, but also budget optimization. Can I share more? I might write about the steps taken separately, but there was nothing surprising.
Removing WOFF files and uses. For some web fonts I still provided both WOFF and WOFF2 files, but as WOFF2 is now supported well enough, I was able to clean up and delete WOFF files and mentions.
Simplifying redirects. For decades I have used redirect combos like this one:
Redirect 301 /growth/ https://meiert.com/blog/how-to-work-on-oneself/ Redirect 301 /growth https://meiert.com/blog/how-to-work-on-oneself/…to be extra-sure to redirect vanity URLs regardless of them ending with a slash or not. While I’m not sure this was even needed (again, something I started doing in the 2000s), it’s a lot of code that also redirects what follows the respective string.
I switched to the following alternative:
RedirectMatch 301 ^/growth/?$ https://meiert.com/blog/how-to-work-on-oneself/
And that’s that, for some maintenance work! See you again in episode 41.
This is a part of an open article series. Check out some of the other optimization posts!
About Me
I’m Jens (long: Jens Oliver Meiert), an engineering lead, guerrilla philosopher, and indie publisher. I’ve worked as a technical lead and manager at various companies (e.g., Google); I’m an active web and tool developer (code optimization, digital defense), a contributor to web standards (like HTML, CSS, WCAG), and a book author (O’Reilly, dxsrc). You’ll like my work if you value principled, pragmatic problem-solving and advocacy—follow along.
