Optimizing WordPress Chapter One

How can I get WordPress to perform better, faster, higher in rankings? Chapter one in Worpress optimization.
Some tips from my experience.

Many wordpress sites get into “Plugin Hell”. There are so many great plugins, to make all kinds of great effects, add galleries, social buttons, do google analytics and so on.
But many plugins call their own CSS files and their own javascript files, sometimes from other domains.
Next thing you know there are 20 CSS and 20 JS files being called. Every call for a file adds to the load time. Every file adds load time. What can we do?

2) Review your plugins

Do you need all those effects? If your theme has a slider, why load another one?
Are you loading two plugins that do the same thing?
Is there a better plugin? One that does not load so many other files?

3) Redirects

Decide if you want www or non-www and do the redirect in .htaccess.
Are you using https? (and why would you not?). Redirect to https in .htaccess.
It’s wasteful to load the site only to redirect.

5) Optimize

My favourite plugin at the moment for this is Autoptimize.It can put all your CSS and JS into two files. You are probably using jQuery (you and half the internet) and it may have to excluded so it can load first.
If possible load these in the footer instead of the head. Autoptimize lets you paste in some CSS to load ‘above the fold’ but this may be a frustraing excersice, unless you know your template really well.

Conclusion

Don’t worry if you do not get 100% in all areas at sites like Pingdom! You have to load some things to have a great site.
If you have reduced the number of files called from 50 to 25 and the size of the site from 3 MB to 1.5 MB, you have done a lot!
Though there’s always a bit more…