Welcome to Alledia, the #1 Joomla Training Company

Would you like to learn Joomla? We're here to help you: Sign Up Today

  • Professionally-produced training videos and tutorials.
  • Guaranteed same-day answers to all your Joomla questions.
  • No Joomla experience needed. We've taught 1000s of Joomla students.

Home / SEO / 101 Ways to speed up your Joomla site 
Feb
02
2010

101 Ways to speed up your Joomla site

Written by David Dawson   
Avatar

101joomlaspeedWell currently 12 16 ways but with your help we will make it 101!  I'll update the post as and when we get more ways to speed up your joomla site.

What with Matt Cutts recent (ish) interview with Web Pro News, he mentions that google will be taking page load times into consideration when they rank your website. What does this mean for all the joomla users?  Can joomla keep up?

I've actually just upgraded our server on our promo gifts home page to a dedicated server, partly for the SEO and partly because the shared hosting is not enough for us anymore.  There is quite a large shellout for a dedicated server...  you can pay anything from £70 right upto £380 a month, and probably more also.  Ours cost us about £1750 for the year.  This includes a quad core processor and some other things that I didn't really understand... But not everyone can afford to do this so I would like to discuss other ways in which to speed up your joomla website.

We will start our list with the basics and build from there.

1. Remove "white space" from your template index.php

2. Optimize all your images - Most if not all should be at least below 10kb

2.a Crop the white space using Photoshop

2.b Use PNG8 Files or GIF files rather than Jpegs and don't use transparancy

2.c Make images the size you want rather than resizing them in the editor

3. Optimize your Css, remove un-needed code

Then use something like this to optimise it

4. Goto MySQL Admin and select all the tables and repair and then optimize them

5. Uninstall any components/modules/plugins that you don't actually use

6. Enable Gzip Compression from within the Global Config

7. Enable Cacheing from within the Global Config

8. Use an offsite Stats Tracker like Google Analytics rather than an onsite one

The onsite ones take up a lot of resources.

9. Install a fast simple template such as "Bolt" or "Afterburner"

10. Get a dedicated server.

Expensive but will give you a lot more speed over shared hosting.

11. If you can't afford a dedicated server...

at least get your site off of GoDaddy/1to1/other awful server! Get it on a webhost that specializes in Joomla, like Rochen.

12. Host your site in the country where your customers are.

Common sense really! The less data centres your site travels through the quicker it will be.

13. Don't host files on your web server that you do not use, large or small.

14. Minimize Javascript use.

If you have to use Javascript, put it in its own file and call it only when it's absolutely necessary.

15. Don't use external images, iframes or similar.

16. In refernece to 15... Don't use things like Twitter Feeds...

or anything that relies on exteral servers to send info before the page can load

 

 

I would class the 2. as 4 seperate ones but I think it all falls under image optimization.

Please use the comments form to add more ways to speed up your joomla site and I will add them into the list.

Free Weekly Joomla Tutorials

Your Comments (20)

0
Jen Kramer
February 02, 2010

13. If you can't afford a dedicated server, at least get your site off of GoDaddy/1to1/other awful server! Get it on a webhost that specializes in Joomla, like Rochen.

14. Minimize Javascript use.

15. If you have to use Javascript, put it in its own file and call it only when it's absolutely necessary.


The #1 way to speed up your Joomla site, though, is to get it on a decent server.

Jen

steve
steve
February 02, 2010

Absolutely agree Jen

We're probably are getting a little extorted by our current hosting company but they work and work fast.

Plus, when I remember back to our days on several bad hosting companies ...

0
m.
February 03, 2010

But, what happens when all the extra js comes "bundled" with modules and components?

I'm sure joomla would be a lot faster if developers would settle for a js framework and stick to the same one everytime.

My 2 cents: #use image sprites.

mayanscaper
mayanscaper
February 03, 2010

I agree with all of your suggestions and have the experience this week to confirm that there is a definite speed bounce from going from a shared server to a dedicated one. I recently moved three clients to Rochen and the results were startling. My only beef with dedicated servers is the expense of the storage and bandwidth. Joomla's databases can grow huge for older sites (one site I moved has over 1,000 articles, videos, mp3s, and such). The storage fills up fast.

My other question has to do with your suggestion to install a slim template like Bolt. It is very difficult to convince some clients that these very plain jane templates can compete in marketing with the jazzy EScene, Rocket, Gavick, and Bamboo templates. I agree with you that the slimmer templates are faster, easier to configure and customize, and maintain; but how do you not use the fancy template when your client insists? Any suggestions?

mayanscaper
mayanscaper
February 03, 2010

Steve, GreenGeeks should be on the "bad" list because they say they are optimized for Joomla but their servers are configured with Registered Globals On and their support is very poor. It is difficult to find a definitive list of shared server hosts who actually optimize their computers for Apache/PHP/MySQL. I find they begin to throttle back sites and over-book servers, thus causing major time outs. And there is no way to avoid the speed hit when this happens except to move (which I've had to do three times now).

ivo.apostolov
ivo.apostolov
February 03, 2010

Don't use external images, iframes or similar.

0
Anton
February 03, 2010

Is there a mod for Joomla that would somehow allow measuring performance? It would be good to be able to compare it "before" and "after", to see which of the changes make the biggest impact...

David Dawson
David Dawson
February 03, 2010

Have added your comments on Jen smilies/smiley.gif

On another note... should I add. Don't use Twitter feeds? I've noticed that a page waiting for twitter updates seem to allways be slow as they are reliant on twitter to send info for them to load

actually I will add that on... please feel free to oppose any of the suggestions!

mayanscaper
mayanscaper
February 03, 2010

David, I have a general question about SEO and Joomla, namely all of these suggestions entail taking the functionality of a dynamic site and sort of emasculating it to enhance speed. I can see the deletion of unused extensions as well as the turning off of extraneous options such as print, PDF, and email for all articles as well as using feeds judiciously, but there seems to be a contradiction in "gaming" headings and title tags vs. creation of meaningful content that bothers me.

As a writer, I want my article titles to inform my readers of what the article is about without having to tortuously bend it to fit some algorithm a search engine uses. Yes, the title tag is invisible, but it still should reflect what the article really deals with rather than throwing keywords in (even in a meaningful way). The same with the introductory paragraph -- it should introduce "who, what, where, when, and why" of that specific article and not of the website. Hiding keywords seems to be cheating and especially since most content on a website is written by users and editors and is very difficult to change without going through a bureaucracy.

As a content-oriented web designer and someone deeply committed to usability, this part of SEO really bothers me. And this is compounded by suggestions of hacking Joomla mods to remove extraneous code. I'm not a programmer and every time I try to follow instructions from "Joomla experts" (I've been creating Joomla sites since Mambo days) on changing code, it blows up the website.

Why not enhance speed and enable faster searches by letting Google's algorithm function and not worry about the internal code of extensions. One's client's pick the features and functions they want and sometimes the existing extensions are not particularlly optimized or conducive to speed tweaks without knowing PHP programming.

I just can't see the purpose in bending Joomla and other dynamic web platforms into pretzels to perform. If we're going to destroy the fun parts of Joomla as well as the beauty of a design for speed, I think Google and other Search engines are doing a disservice to users.

David Dawson
David Dawson
February 03, 2010

@mayanscaper Regards to the bolt template... I've been using it on my site for ages now.
I moved from bolt over to a Solar Sentinal, rocket theme template because it gave me a load more module positions and space to promote products. And it did look awesome. I loved it.

But check out my load times. We also lost about 65% of our traffic in that period.


At the end of the day my site is there to bring orders in. And for this I need relevant traffic.

I think in answer to your question about advising clients... its best to consider what the end result they are looking for is, and whats more important? Flashy graphics and JS features or converted leads? Its weighing up brand image importance over sales conversions.

mayanscaper
mayanscaper
February 03, 2010

David, you are absolutely right. My question comes from dealing with a recent client I had to leave due to creative differences. When a client tells you about SEO and conversions as a requirement but insists on the bells and whistles then clobbers you because as you had warned, the traffic falls deeply when the fancy template is installed, there is no conversation.

So, where is the middle ground between a template like Bolt and a client's wish to compete with fancy sites (or thinks that's what's bringing in customers)? Clients hear lots of things about SEO and site speed and don't really understand the role of the template in Joomla! It is difficult to explain performance without getting technical.

Your graph is certainly dynamic proof that the simpler the layout, the more traffic but I also don't understand why.

David Dawson
David Dawson
February 03, 2010

@mayanscaper to your 2nd post... it may be annoying but unfortunately thats the way search engines work. Yes relevancy is the most important factor in any website but you need to be able to instruct the search engines on how your site is more relevant than your competitors website.

I think your last comment regarding the "bending into pretzels" is a fair point, but on the flip side thats part of open source, and joomla in particular can be bent into any kind of website you want to create.

If I had the programming skills to create my site from scratch then I would have probably gone down that route. The point is 3 years ago when I started in web design I had no idea how to create a website at all. i decided I was going to find a system and learn it inside out, something that was versatile and could be "bent" into any kind of site I wanted to create, that system is Joomla, and what makes IMHO one of the best systems available.

Its ok creating a site that have interesting articles and basing it all on great content, but when your product is not all that interesting or unique then there is not always a lot you can write about it!

Watch this video, its matt cutts setting the record straight! it might lay some worries at rest!

http://www.youtube.com/watch?v=muSIzHurn4U&feature=player_embedded

jlleblanc
jlleblanc
February 03, 2010

I agree 100% with "don't skimp on hosting." In addition to dedicated hosting, look into a configuration where you're using a system like XCache, which will hold the underlying PHP code in memory. Dreamhost's Premium Service offers this at a reasonable rate.

RE: Twitter feeds and JavaScript from external sites

Yes, removing them can speed up your site. However, if you are coding your JavaScript correctly, you can tell it to wait until the page has loaded before attempting to back-fill the page with your content. If you are using a precoded plugin or module to handle it, there's a possibility that the programmer has not coded it in this way.

eskwire
eskwire
February 03, 2010

This is a well timed post. I have been spending the past couple of weeks working to make my sites faster. Yslow and page speed have been helpful to point out some of the easily overlooked elements.

It would be great to quantify how much these recommendations help.
***Good Hosting Huge improvements
***Removing etags small improvment

It would be great to be able to make all changes but that takes time and then upgrades and management become more involved. Time which most people do not have. It would be great to see which modifications give you the biggest bang for your buck.

I also agree the hosting is a major factor and dedicated hosting is better but for many people the price is to high. The trick is to be able to find fast shared hosting. For that I like Rochen and Hostgator. I recently moved two sites from other good hosts to these companies. I am planning a full write up on these moves.

Has anyone looked at the performance gains of unpublishing or uninstalling the unneeded core joomla plugins? I have started a write up of them here http://www.joomlahostingreview...ined.html The article is still a work in progress and I hope to create some suggestions or best practices for Core Joomla Plugins.

Great topic it has given me a few ideas for other blog posts!

0
Stormy Knight
February 03, 2010

Run your site through a optimization checker like websiteoptimization.com and see what is left to do after doing the above.

jlleblanc
jlleblanc
February 03, 2010

@eskwire If you can't get decent hosting, other efforts to speed up your site are generally not going to be wroth it. I'm amazed by the people who will spend hours and hundreds of dollars on an SEO strategy, yet opt for $6.95/month hosting. A lot of these same people spend $80/mo for an iPhone or BlackBerry so they can check those all important emails wherever they happen to be.

You don't necessarily have to shell out for a dedicated box; a lot of hosts offer VPS services around the $20-$30/mo range. That will get you away from the bulk of the issues with shared hosting. You can also host multiple domains with a VPS, which can help reduce the costs if that sounds too high.

All of my experiences with shared hosting go something like this:
* You get on, it's good for a while
* Then you get someone on the box with a rogue script
* You call in and ask to get moved to a new server, they won't do it
* Service steadily deteriorates
* You move on to the next shared host and repeat the process

I could go on, but hosting is really something you don't want to skimp on. If you're genuinely on a shoestring budget and need to produce a website, head over to wordpress.com, host it for free and be done with it. Otherwise, any time, money, or effort you throw on shared hosting is a waste.

markhoutman
markhoutman
February 05, 2010

Interesting topic ! I have been searching for a fast and professional looking template for ages.....

The big template clubs have all introduced speed extensions lately, which combine and compress css and js files. Joomlatwork has also a cache component which does the same. Furthermore there is css js compress and smartoptimizer. So, a lot of options to increase the loading time of your site...but which one to use ??? has anybody here experience with these extensions ???

I am also wondering if it's possible to combine css files yourself by just copying the code of seperate files into a main file...

Any thoughts about this ?

David Dawson
David Dawson
February 08, 2010

I've not got any experience in combining css files.

I think it could help a lot, but if you follow most of the other rules it would not be so nessicary to alter core files and other items.

0
Jason Johnston
March 05, 2010

In reply to the comments on a decent hosting, most good hosting companies typically supply all the features and more that hosting companies specializing in CMS websites provide. Bluehost is a great example. The level of security and customer service they provide is outstanding.

jlleblanc
jlleblanc
March 05, 2010

@Jason I was on Bluehost for a while and it was good, but I gradually suffered more outages. When I would call and ask for an explanation, they became increasingly vague. No host is going to stay up for 100% of the time, but you should be able to give people at least an idea of what happened when there's an outage.

While I agree that you don't have to get a host that specializes in your CMS of choice, I can't recommend shared hosting for anyone concerned about performance or uptime.

Write comment

 
  smaller | bigger
 

busy
 

Read more articles by this author: