Website Optimization Measures, Part XXIV
Published on June 11, 2024, filed under Development and Design (RSS feed for all categories).
That was quick! Over the last two weeks, I refactored a few more things on my websites. Chances are, you know what this series is aboutâif not, itâs where I share improvements and lessons from the work on my projects so that you can cherry-pick what you think could benefit yours.
-
Switching to AVIF. After monitoring AVIF support for years, in May the time felt right to start an initiative to convert project imagery to AVIF. The first project, though with only a single image to be converted, was Frontend Dogma.
-
Rolling back select AVIF changes. Exactly that first test then failed, when neither Mastodon nor Twitter/X seemed to be able to handle AVIFs. (This seemed to be confirmed when looking at common documentation, like OpenGraphâs guide.)
-
Lowering book prices (letâs just make this a website thing đ ). Iâm a believer in Germanyâs idea of fixed book prices, even though it doesnât apply to most (now perhaps any) of my titles. Over the last few years, keeping all prices the same turned out to be a problem for me, however, because Leanpub, my favorite book platform, increased minimum book prices twice. Not only did this mean that a platform kept pushing me, requiring me to run several unprompted and unwanted updates for many books on several platforms, it also had me set prices I didnât stand behind. In May, I started hitting the brakes, coming up with a bit of a hack (using Leanpubâs causes to donate the money I didnât want to charge) to lower prices to what I consider fairâmost notably, my HTML optimization books as well as well as some philosophical self-help titles (check out the bundles!).
-
Abandoning AI summary experiments. After starting to test monthly summaries of what was going on in frontend development (see the now-archived April edition), it quickly turned out that this wasnât going to work in the long run. Google Gemini, which gave the best results, was either more or less repeating what was said in the respective previous update, or it would start hallucinating, suggesting developments for which the headlines gave no indication. That didnât add value, which is why I ended the experiment.
-
Debugging and optimizing Eleventy performance (for Frontend Dogma).
While I still have the hastily written thread open,the gist is, donât usegit Last Modified
. Really donâtâyouâre likely to already feel the impact with only dozens of files. In Frontend Dogmaâs case, ~600 of these requests led to ~140 seconds of extra export time until I refactored the approach and moved away fromgit Last Modified
. -
Kicking out IE-only scripts and styles. When in 2019, I made Haiku Haiku Love (backstory) winter-proof by converting it into a static website (with valid HTML), I had missed how some of WordPressâs IE-related code was still stuck in there. On some testing and probingâwhich may suggest itâs useful to even look at dead projects at times, if theyâre still reachableâ, I found these references, and removed them and the respective files (another backstory).
-
Cleaning up domain registrations. For a number of years I held stewardship over two domains; for some reason, for both of them, I could finally move forward and transfer them to who should really own them. (One of them was a family name domain, something to hold near and dear.) As if that wasnât enough, I used the opportunity to move one of my domains from one provider to another, and to let another phase out. Iâm not a domain hoarder, but I own a few, and, you name it, this, too, falls under maintenance and optimization.
-
Optimizing site headers. Even though the meiert.com site redesign is coming up, one problem I didnât get out of my mindâthe still relatively large logo. I couldnât but take an evening to refactor the meiert.com header and navigation, including some other small improvements, like handling on smaller screens. (And yet, further optimizations may now need to wait until I get to roll out the new design.)
-
Replacing old toggle scripts with
details
/summary
disclosure widgets. For the old and discontinued âWeb Dev Reportâ cartoon series, I had back in the day worked with a homemade scripting solution. Iâm not sure what took me so long to replace it by using native HTML functionality, that is, thedetails
andsummary
elements. Done!
This is a part of an open article series. Check out some of the other posts!
About Me
Iâm Jens (long: Jens Oliver Meiert), and Iâm a frontend engineering leader and tech author/publisher. Iâve worked as a technical lead for companies like Google and as an engineering manager for companies like Miro, Iâm a contributor to several web standards, and I write and review books for OâReilly and Frontend Dogma.
I love trying things, not only in web development (and engineering management), but also in other areas like philosophy. Here on meiert.com I share some of my experiences and views. (Please be critical, interpret charitably, and give feedback.)
Read More
Maybe of interest to you, too:
- Next: The Price of a Dream
- Previous: Death by Experience
- More under Development or Design
- More from 2024
- Most popular posts
Looking for a way to comment? Comments have been disabled, unfortunately.
Get a good look at web development? Try WebGlossary.infoâand The Web Development Glossary 3K. With explanations and definitions for thousands of terms of web development, web design, and related fields, building on Wikipedia as well as MDN Web Docs. Available at Apple Books, Kobo, Google Play Books, and Leanpub.