Website Optimization Measures, Part I
Published on February 10, 2008 (⻠February 5, 2024), filed under Development (RSS feed for all categories).
This and many other posts are also available as a pretty, well-behaved ebook: On Web Development. And speaking of which, hereâs a short treatise just about managing the quality of websites: The Little Book of Website Quality Control (updated).
Focus on QA requires occasional website reviews, not necessarily immediate redesigns or relaunches. This week I spent some time analyzing, refactoring, and optimizing my personal sites. I thought to share a few things for inspiration and discussion:
-
Removing irrelevant posts. I did indeed browse this blog for irrelevant postsâand found a few. While some might consider deleting posts âtaboo,â I do not, if the posts in question decrease the average post quality. I accept that not every post needs to make #1 on Digg, but admittedly, some entries looked like I babbled in order to say something. The removal has made maintenance a little easier (apart from the fact that I will need to remove a few redirects in the future). It didnât affect many comments; few people commented on those posts, unsurprisingly. Thereâs no downside removing irrelevant stuff, not even in blogs.
-
Editing and removing comments. Some might consider this another taboo but it has a few good reasons, too, some of them mentioned in the new comment guidelines. The most important reason was spam, and my tolerant approach to comments that avoids both moderation and
nofollow
bears a larger risk of getting spammed without noticing (and that despite I check everything Akismet does, and what gets published). So I went through all comments, removed some, edited or âneutralizedâ others. While this measure meant a lot of work it increased this blogâs overall quality, and decreased the likelihood of getting âpenalized.â It benefits commenters in that it emphasizes and strengthens everyoneâs contributions. -
Cleaning up the folder structure for âauxiliaryâ files. For style sheets, scripts, and images I personally used to use a folder structure like â/bin/cssâ, â/bin/jsâ, and â/imgâ. Not anymore. The mentioned structure has been inspired by UNIX but only makes so much sense, and it doesnât scale well, either. So I changed the architecture to
- /media
- /setup
- /css
- /js
And while this appears to be much better than the former type of organization, Iâll watch how it behavesâso far, it works and scales great. â/mediaâ is not just for images and thus gives me the flexibility to throw in videos as well (something I didnât do before, not in my private projects), and â/setupâ looked like a short name that would roughly legitimate hosting style sheets and the like. Anyway, if thereâs something better, Iâll revise it again. Unless cost of problem gets too low, that is.
-
Revising use of
rel="alternate"
. I used to add<link rel="alternate">
elements in thehead
section of documents to point to alternative versions (mostly translations) of the corresponding page. I dropped this, not due to eventual SEO advantages but for maintainability reasons. Addingrel="alternate"
only to hyperlinks pointing to alternative versions now needs to suffice. -
Replacing Google and Yahoo verification
meta
elements by HTML equivalents. Using both Google Webmaster Tools and Yahoo Site Explorer I once decided to use themeta
element verification way in order to avoid additional stuff in the corresponding project roots. However, I noticed this had a downside, namely forcing homepage visitors to download these (for them useless) elements. By removing themeta
elements and verifying sites with the alternative HTML documents, file size decreased again, and that is great.
As Iâll be leaving Bremen tomorrow for a few days of home search in Zurich and my next farewell tour in Berlin, I had to hurry and keep some arguments and explanations a little short. At least four additional measures are waiting in part II, however. đ
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.)
Comments (Closed)
-
On February 12, 2008, 16:47 CET, Stefan Nitzsche said:
From my point of view, it makes sense to think about a blog post before you publish it, and not with hindsight. I think that users donât like to comment on posts that will be possibly edited or deleted during a âblog reviewâ. And much more important: I would never touch a comment, because the writer meant it the way he wrote it. My changes would only affect the typographical, grammatical and orthographical correctness.
Live with your past babble and look forward to make it better. đ
-
On February 14, 2008, 22:41 CET, Jens Oliver Meiert said:
Thank you, Stefan; you point out a few things other readers might wonder about as well:
From my point of view, it makes sense to think about a blog post before you publish it, and not with hindsight.
Of course. Alas, mistakes occur, and to quote Confucius: âA man who has committed a mistake and doesnât correct it, is committing another mistake.â
I think that users donât like to comment on posts that will be possibly edited or deleted during a âblog reviewâ.
Maybe I didnât make myself clear about that: Unless comments are âspammyâ (or violate the comment guidelines), no comment gets edited or removed. I absolutely understand concerns about this measure, but itâs supposed to benefit everyone involved.
And much more important: I would never touch a comment, because the writer meant it the way he wrote it.
Neither spam nor offensive comments? (The latter didnât appear in my blog yet, but I wouldnât tolerate them.)
-
On November 3, 2008, 21:11 CET, Santhos said:
I just came in on part V and decided to start with part 1. Great serie of articles with finally not such a common approach to web optimization. Youâre digging a little deeper then what I come across most of the time.
Folder structure is a good one. I do not always use the same map structure and that sucks⊠Especially when I sometimes copy and paste some stuff and find out half an hour later that some path is incorrect⊠đ
Read More
Maybe of interest to you, too:
- Next: Website Optimization Measures, Part II
- Previous: CSS: Selector Variables
- More under Development
- More from 2008
- 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.