Website Optimization Measures, Part XIV
Eight quick improvements on my own sites, accrued over the last couple of months, for inspiration and critique.
Documenting more link relationships. Shortly after this series’ March update, I (finally?) added
rel=canonicalmetadata to posts that I had originally posted elsewhere, to indicate where the original was living. I also added select additional
linkelements, to speed up connection to resources likely to be accessed (like Frontend Dogma’s Twitter account, which is central to the site’s purpose).
Allowing Twitterbot access to otherwise “disallowed” pages. With meiert.com overview pages I realized that there have been pages I wanted excluded from being indexed, but not excluded from being properly shown on Twitter. Accordingly, I made some adjustments to this site’s robots.txt—and should probably look into whether there are similar use cases on other sites.
Adding (proper) dark mode. I had been playing with super-short dark mode solutions; alas, they don’t work as well as I’d like them to, yet. For some reason I felt Frontend Dogma was a candidate to implement not the “a-little-darker mode” I’ve set up for meiert.com and uitest.com, but a full dark mode. That’s what I did.
Reviewing tags. As Frontend Dogma has been growing (currently at 1717 posts, and 667 followers!), managing and maintaining the various tags has become a greater challenge. As such, every other week I end up adding, editing, and cleaning up tags. This work seems important on a site like Frontend Dogma, because it’s where one key benefit lies. Just look at, say, all the accessibility news—or, for contrast, what’s up with micro-frontends.
Updating personal addresses. Okay, clearly you have to do this when you’re moving and you’re based in a country that requires you to publish your residential coordinates. Done, when we moved last month.
Reviewing and optimizing social markup. First, read my tweet from that evening. Then—check out my post on “minimal social markup.” The minimum markup isn’t as minimal as HTML would allow it—but it’s still more minimal than what I used to work with up until now.
Playing with the
color-schemeproperty. I wasn’t aware of the property until a tweet by Chris Heilmann; and although I didn’t find it mission-critical, I added it to the Frontend Dogma style sheets. Maybe followed by more, once I roll out full dark modes in other projects.
This is a part of an open article series. Check out some of the other posts!
I’m Jens, and I’m an engineering lead and author. I’ve worked as a technical lead for companies like Google, I’m close to W3C and WHATWG, and I write and review books for O’Reilly and Frontend Dogma. I love trying things, not only in web development, but also in other areas like philosophy. Here on meiert.com I share some of my views and experiences.
If you have a question or suggestion about what I write, please leave a comment (if available) or a message. Thank you!
Maybe of interest to you, too:
- Next: One-Dimensional Website Optimization Considered Harmful
- Previous: Minimal Social Markup
- More under Web Development and Art and Design, or from 2022
- 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 (2023). 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.