All of you out there that know me, know that i am an efficiency freak. Most of the times, when someone flashes a plugin to me, i stop and say “is that really necessary?” instead of “this looks cool!”. I know, it’s mostly annoying but you got to admit, i have a point. But, first things first. I will concentrate on WordPress, since, most of my readers are bloggers using the platform and many don’t really get why i nag all the time about performance and plugins. To give you a good taste of the complexity here is a small diagram.
This actually is a rough representation of what’s going on when a client request on your blog is in progress. Let’s take it one step at a time:
Do you see how painful it is to make a query? Now take that and multiply it by 50-60 which is the average query count on a WordPress blog (not the default installation but an established one). You can see now how your memory and CPU get clogged up when a few requests come along together.
Does the title ring a bell? I bet it does. It must remind you of the article i wrote quite some time ago titled “Get rid of the sociable plugins. Do it yourself!“. It helped a lot of people save some CPU time and memory usage. Now it’s time for the newsflash! The idea came to me after i read this article on a modification for the theme. It actually gives a very nice little admin area on the theme options but it fiddles with the database so i decided to show you how you can do the same thing without any query run.
Firstly, i will summarize all the steps we are going to take in order to achieve this:
The result will look something like the following.

Watching twitter today, i came across a tweet from Kikolani. Now i’ve been following her for quite some time getting valuable feedback and post ideas. Today’s tweet was about a post on TechJaws called “The Biggest Mistakes in SEO” which i found interesting. As always i have my agrees and disagrees but still it was a nice read. One of the author’s points was ““Click Here” or “Read More” Link Anchor Text“. Here is what he suggests:
Many people use “Clíck here” or “Learn more” as the linking text. This is great if you want to be ranked high for “Click Here”. [...] It’s much more descriptive (and relevant) to say “learn more about {keyword topic}”
I see the point on this and i agree. Besides, the info has already been retrieved from the database so no more extra load is going down. It’s not only SEO friendly, it’s reader friendly as well. That’s what’s most important. On the comments, Kikolani said she hadn’t figured out how to do it. I thought that many non techy people out there might find it hard, as well. So, here is how i did it! (notice it on the read more following)
A few months back i had a post about how to get rid of your sociable plugins and doing the same thing by editing your theme. In that post i have included a few popular sociable networks such as Digg and Stumbleuppon but today i have decided to include as much as possible, 101 to be exact. You can go through them and decide which ones you want to use. The links are included as they should be in your theme. Take a look at the older post on how to do it and get the links from here.
I used the Sociable plugin source code to extract the links. You can also find images for the links herein here (also from the same plugin): 101 Sociable images (420) - 82.18 KB
As an example of how to use it, here is one with Digg:
For more details please check out the older post. So here we go!
You all must know me by now. I am always nagging you about code efficiency, using minimum plugins and other improvement tactics. The past couple of days there has been some interesting conversation and feedback on Kim’s blog, on the post she made a few months back asking for plugin ideas for me to code. From there the idea for the YAFootnotes and My Tag Cloud plugins have been given plus some valuable feedback. Now, there is another conversation started from a user, Richard. My reply to all his valuable feedback would a) be too long for a comment and b) illustrates what i think might help some other people too. So, i decided to go on with this blog post. Enough with the chit chat, let’s see what he says.