Making Your WordPress Blog Run Faster Using WP Super Cache

Today I was wondering how I could make my blog run faster. After searching Google I came across an interesting plugin called WP Super Cache. I decided to download it, install it, and benchmark it to see what kind of impact it would have on actual performance. Through several of my work projects I know that merely loading PHP can have a rather substantial performance on performance (relatively speaking of course). Before installing WP Super Cache, I benchmarked the length of time it took to load 1) My blog homepage and 2) An article I chose at random. These benchmarks represent the time it took for apache to process the php page being requested (not the total download time of the page or part thereof). I downloaded each page five times and took the average.
- Homepage: 0.952s, 0.765s, 1.017s, 1.127s, 1.083s -> Average: 0.9888s
- Single Article: 0.799s, 0.901s, 0.851s, 0.848s, 0.821s -> Average: 0.844s
After installing WP Super Cache the numbers changed to:
- Homepage: 0.804s, 0.733s, 0.791s, 0.778s, 0.738s -> Average: 0.7688s
- Single Article: 0.678s, 0.547s, 0.704s, 0.678s, 0.666s -> Average: 0.6456s
I then installed activated compression (+ cache) and ran stats on just the homepage. This time, page downloading time was factored into the equation in order to see benefits of the compression.
- Homepage: 0.562s, 0.793s, 0.628s, 0.729s, 0.626s -> Average: 0.6676s
Conclusion: Using WP Super Cache decreased the server processing time by about 22%. Enabling compression reduced the total time to download the main page (just html of primary site) by another 13%.
I would have suspected that the difference in processing time would be greater considering that apache just has to retrieve a static HTML page rather than dynamically processing a PHP page. However, I would also suspect the differences to be more significant with a web server under considerable load (which mine is not).
How To Get Indexed By Google In 48 Hours
When I was first creating this blog, I starting wondering how long it took to get indexed by Google. I’ve created many websites, but have never worked on the SEO (Search Engine Optimization) end. I started reading other blogs and came across numerous posts of people who had pages up for months that had still not been indexed by Google. I also found several other blog sites (example) that claimed to have the magical answers of Google indexing. So I wondered, how quick could I get my new site indexed by Google. From my research, it seemed that anything under a week should be considered good. I, however, was determined to beat that. This is what I did:
- I signed up for my hosting account on a Saturday night
- On Sunday I installed WordPress and wrote a few articles for the site (I do consider the content in these articles “decent”)
- After I had created by articles/categories/tags I went to XML-Sitemaps.comand generated, you guessed it, an XML Sitemap. I then submitted this map to Google Webmaster Tools
- I signed up for Google Adsense and placed two ads on the site
- I submitted my site to Google’s Add URL page
- I downloaded and installed the Google XML Sitemaps Generator plugin for Wordpress which can be found here. I told the plugin to include all sitemap content, created the robots.txt file, and set change frequency to “Daily” for all items in the list.
- I downloaded and installed the All in One SEO Pack WordPress Plugin
- I added Google Analytics so I could monitor how much traffic I was getting
On Tueday, Google Analytics showed that on Monday I had received some traffic from Google Searches - all in less than 48 hours. I searched for my site on Google and, voila, there it was!
Coin Laundry - A Better Alternative?
I’m looking at my pile of laundry and thinking I should get down to the coin laundry place. No, I don’t have a washing machine in my apartment. Yes, I can afford it. But, I’ve grown to find that using coin laundry is not all that bad. Going to a coin operated laundromat, I can wash 4 to 5 loads all at once. That means I can get all of my laundry done in 30 minutes, rather waiting for hours at home while I wash load after load sequentially. And, perhaps best of all, you get to meet all kind of wonderful (crazy) people while you wait. The last time I was there, I got to hear all about this guys revolutionary business idea. He was really into skateboarding and he wanted to start a t-shirt company. His idea was to rip-off corporate logos and incorporate something skater related into them. At the time I was wearing my FSU shirt and he explained that he had an identical shirt (same logo, font, everything) but had changed the “T” to a “K” (”Florida State” -> “Florida Skate”). Well, good luck buddy, but you better have a good legal team for when you get sued for copyright infringement.
Bankers Petroleum (BNK:TSX) - Update
Bankers Petroleum (quote) closed at $1.99 today. That means I’m up 16.4% since buying it last month. I’m still going to hang on as I’ve got a stop order set for $1.80.
Unethical MS Exchange “Journaling”
A friend and business associate of mine called me up today with an interesting problem. He does contract work for a company in Oregon who recently had to let their system administrator go. The reason he was let go had more to do with the state of the economy than job performance. In order words he was not fired (although after this, he probably should have been), but he was let go for financial reasons. Now, fast forward several months later until May, 2008. This friend of mine was browsing their active directory and happened to find a domain user called “Archive Archive.” The account looks innocent enough, as if there is even a legitimate purpose for it. Their old SA, however, had been silently forwarding all corporate email to it. As it turns out, he found out that he was going to be canned about a week or two before it happened and changed the setting to forward all corporate mail to his personal mail account so he could still read it after he was let go.
How was he doing this? He was using the journaling feature of Exchange 6.5 which allows you to archive all mail sent and received by a specific data store to one users mailbox (in this case, user “Archive”). He then setup a rule to forward mail received by Archive to his two personal email accounts. The screenshot to the left was taken from this website which goes into more depth about the feature:
Exchange 2003 ‘Journaling’ – A quick tutorial
This left me wondering what a company could do to better protect itself. After he left they forced all domain users to change their passwords. However, he still would have had full access to the network (via Terminal Services). After logging in, he just would have been prompted to change the password to his illegitimate account. I suppose it could be argued that someone should have scanned the AD listing and questioned what the “Archive” account was for. Let’s say that instead of using “Archive” he had used a permutation of the presidents name, for example “Dave Smith” instead of “David Smith”. I know personally, I’d probably see that quickly, wonder why two accounts were setup for him, and then continue scanning. This company uses a software package that legitimately requires some users to need two account to avoid some poorly designed licensing pitfalls.
Google Finance - No More Spinning Tops?
Today, I stumbled upon the new Google Finance. The funny thing is, I use the Google finance portfolio widget on iGoogle all the time. But, for whatever reason, I guess I’ve never clicked on my stocks, as retarded as that sounds. In any event, I had been looking for a while for a chart that combined news (earnings reports, upgrades/downgrades, whatever else) with chart data so you can more easily determine the effect of different types of news on a stock. I’m sure Google isn’t the only company that does this, but its just the only one I’ve come across so far in my young investing career. So, I was looking at the chart of my stock and trying to find a way to see a candlestick chart. I looked under chart “Settings” - Nope, that’s not it. I look around the page - Nope, still don’t see it. Why is there no option to view a candlestick chart? Aren’t candlesticks the most often used chart in technical analysis. I did a quick Google search on it, and that came up empty. Is it really true…are there no candlestick charts in Google Finance? Someone, please tell me I’m wrong. I would love to use Google Finance more often…


