Posts tagged as:

wordpress

Speeding Up WordPress

by Joshua Unseth on April 29, 2009

yoast
Joost De Valk put together a presentation for the A4U Expo in Europe yesterday. His slideshow is great. And I think I’ll do a few posts focusing on the points he put together.

Install WP-SuperCache

Joost recommends that you install a plugin called WP-SuperCache and that you enable its gzip compression feature. I’ve use this plugin on all my WordPress sites. It’s wonderful. It speeds up your wordpress installation by a huge amount, which means better indexing on Google and other search engines. Enabling the compression feature isn’t necessary, and may not even be a feature that your server allows you to implement. I know that I wasn’t able to use it when I hosted on GoDaddy, although I can now at MidPhase.

Move .htaccess files to your server config if possible

To be honest, I’m not a huge server-side guy. This recommendation makes little to no sense to me. I’ll be researching it and get back to you.

Combine CSS Files into 1 Big CSS file (javascript too)

This is a great suggestion. The server loads all of your css and javascript files before it begins loading the rest of the page. And then, usually, it caches the files and applies them to all the pages on your site where the CSS file or javascript file is called. Combining all the little external files into one big one will make your site load a lot faster.

Use CSS Sprites

CSS Sprites are pretty neat. If you want an explanation of what they are A List Apart has a pretty good entry explaining the Sprite. But basically, the idea is to load one image that will act as many images on your page.

Add a PHP opcode Cache

This only really matters if your server is serving up thousands of pages a day. If your small, don’t worry too much about it. But if you want to worry about it, you can learn about different opcode cacher’s at Ewdison Then.

Kill some plugins

In Joost’s words, “some plugins are god awful”. Some plugins slow your site down. They have tons of mysql calls, and are just generally bad for your site’s SEO and speed health. There are ways to get around plugins, though. Smashing Magazine, for example, has a bunch of really good tips for putting together some really neat elements that, until previously, required a plugin. My point is, you don’t actually need a plugin for everything.

Still slow? Switch Hosting

Your hosting company plays a huge role in your site’s overall performance especially if your on shared hosting. Joost swears by WestHost, I use MidPhase. The truth is, both companies are owned by the same parent company, and they are only slightly different. I have had some trouble with MidPhase (they kept me on a slow, broken server for a long time), but most of my experiences have been pretty good.

{ 0 comments }

Retrieve a Post’s First Image and Resize it with TimThumb

April 23, 2009

I spent a bunch of time trying to figure out how to retrieve the first image of a post. I found a bunch of articles with code samples and one plugin: Simple Image Grabber, WordPress Forum, Live Experience, WP Recipes, and Justin Tadlock. In nearly every set of comments, people were trying to figure out [...]

Read the full article →

New Thoughts on Multipage Posts

February 15, 2009

So up until recently I’ve been a proponent of multi-page posts for magazine developers. I figured, if you are struggling to monetize your magazine, what better way to do that then to get people onto more pages. It increases your pageviews and, as a result, your ad revenue. I mean, that was my thought process.
After [...]

Read the full article →

WordPress Theme

December 18, 2008

Wanna build a wordpress theme from the ground up? That’s noble of you. I started constructing an user guide that would get anyone who wanted to do it started, but the task was tedius. I still want to do it, but not today. In the meantime, there are others who’ve already undertaken the task.
List of [...]

Read the full article →