Difference between revisions of "Learn/7-Easy-Ways-to-Improve-Your-Site-Speed-for-SEO"

(migration import)
 

(67 intermediate revisions by one other user not shown)

Line 2: Line 2:
 
| Writer = KristinaWeis
 
| Writer = KristinaWeis
 
| Name = Kristina Weis
 
| Name = Kristina Weis
| Header = 6%20Easy%20Ways%20to%20Improve%20Your%20Site%20Speed%20-%20and%20SEO
+
| Header = 7%20Easy%20Ways%20to%20Improve%20Your%20Site%20Speed%20-%20and%20SEO
 
| Subhead = Faster Websites Can Rank Better
 
| Subhead = Faster Websites Can Rank Better
| Bitly = http://AboutUs.org/SiteSpeed
+
| Bitly = http://bit.ly/ForSpeed
| Date = January 27, 2011
+
| Date = September 7, 2011
 
}}
 
}}
 +
==Faster Websites Can Rank Better==
 +
----
 +
[[Image:SiteSpeedSnail.jpg|right|230px|Help your website be faster than this snail. (Photo from Flickr CC by Randy Son Of Robert.)]]
 +
<big>Having a fast site - or at least a site that's not slower than the average - can help you gain or maintain good search engine rankings and traffic to your website.</big>
 +
 +
Some chilling statistics:
 +
* 47% of consumers expect a website to load in 2 seconds or less <small>[http://blog.kissmetrics.com/loading-time/ source]</small>
 +
* 40% of people abandon a website that takes more than 3 seconds to load <small>[http://blog.kissmetrics.com/loading-time/ source]</small>
 +
* A 1 second delay in page response can result in a 7% reduction in conversions (sales, sign ups, etc.) <small>[http://blog.kissmetrics.com/loading-time/ source]</small>
 +
* A 100 millisecond delay on Amazon.com caused a 1% drop in revenue. <small>[http://blog.yottaa.com/wp-content/uploads/2011/05/Site-Speed-Performance-Business-Impact-Infographic-Yottaa.png source]</small>
 +
 +
[[Glossary/Site-speed|Site speed]] refers to how fast all the elements of a web page - its text, images, video clips, etc. - appear in a web browser window after someone clicks a link to that page, or types its [[Glossary/URL|URL]] into the browser navigation bar.
 +
 +
Early in 2010, Google added [http://googlewebmastercentral.blogspot.com/2010/04/using-site-speed-in-web-search-ranking.html site speed] to its website [[Glossary/Ranking-algorithm|ranking algorithm]]. Now a website's loading speed is one of about 200 factors that help Google determine which websites to rank highest in results for a specific search term. That means site speed has to be considered when you're working on your website's search engine optimization ([[Glossary/SEO|SEO]]).
  
[[Image:SiteSpeedSnail.jpg|right|230px|Help your website be faster than this snail. (Photo from Flickr CC by Randy Son Of Robert.)]]
+
Google added site speed because a faster site is better for people, and Google wants its results to be of high value to searchers.
<big>Having a fast site - or at least a site that's not slower than the average - can help you gain or maintain [[Website-Visibility-Report|good search engine rankings]] and traffic to your website.</big>
 
  
Early in 2010, Google added [http://googlewebmastercentral.blogspot.com/2010/04/using-site-speed-in-web-search-ranking.html site speed] to its website [[Glossary/Ranking-algorithm|ranking algorithm]]. Now a website's loading speed is one of about 200 factors that help Google determine which websites will show up where in search results.
+
==First: Check How Fast Your Site Loads==
 +
----
 +
Use any of these free tools to check how long it takes to load your website into a web browser window:
  
==First Check How Fast or Slow Your Website Now?==
+
*[[Tools.Pingdom.com|Pingdom]]'s [http://tools.pingdom.com/ site speed test] is a popular tool for checking website load time. It's easy to use.
You can see how long it takes to load your website with:
+
*[https://www.google.com/webmasters/tools/ Google Webmaster Tools] has a section with information on the speed of your website, from the source that may matter the most. Once you've logged in to Webmaster Tools, click "Labs" on the left, and then "Site Performance."  
*[[Tools.Pingdom.com|Pingdom]]'s [http://tools.pingdom.com/ site speed test] is a popular tool for checking website load time.
+
*[[WebPageTest.org]]'s [http://www.webpagetest.org/ website performance test] lets you check the speed and performance of your website in different web browsers such as Internet Explorer 7 or Firefox. It also allows you to test how your site performs in different geographic locations.
*[https://www.google.com/webmasters/tools/ Google Webmaster Tools] has a section with information on the speed of your website, from the source that may matter most. In Webmaster Tools, click "Labs" and then "Site Performance" on the left.
+
* [[GTmetrix.com]]'s [http://gtmetrix.com/ website speed test] combines info from Google Page Speed and Yahoo! YSlow in a nice presentation with a nice list of things you can do.
*[[WebPageTest.org]]'s [http://www.webpagetest.org/ website performance test] gives you various views into the speed and performance of your website.  One added bonus to this tool is that you can check your website in different web browsers (Internet Explorer 7 vs. Firefox, for example) and from different geographical locations.
 
  
 
==What's Considered a "Fast" Website?==
 
==What's Considered a "Fast" Website?==
[[Image:AlexaSpeedStats.png|200px|right]]
+
----
To give you an idea, [[Alexa]] says that [[AboutUs.org]] loads in about 2.3 seconds and that 71% of websites are faster. (See image at right.)  If {{LinkPair|Alexa.com}} has traffic stats for your website (usually the world's top million websites do), they can provide some traffic information for your site and give you that comparison.
+
[[Image:AlexaSaysFacebookIsSlow.png|200px|right|Alexa sas that Facebook has below average site speed.]]
 +
To give you an idea, [[Alexa]] says that [[Facebook.com]] takes just over 2 seconds to load, and that 70 percent of sites are faster. (See image at right.)  {{LinkPair|Alexa.com}} provides traffic statistics for most of the world's top million websites. If your site is in this group, you'll find some good information about your site on Alexa, and you'll be able to compare your site to others in the top million.  
  
In general, having a website that loads in about '''2 seconds or less is good'''. A website that loads in about 2 to 5 seconds isn't fast, but it's probably good enough.
+
In general, a website that loads in 2 seconds or less is doing well. A website that loads in 2 to 5 seconds isn't fast, but it's probably good enough.
  
A website that takes more than 5 seconds to load is likely to annoy some of its visitors.  The longer it takes a website to load the more likely the site is to be hurting its SEO with Google, which includes site speed as a ranking factor.
+
A website that takes more than 5 seconds to load is likely to annoy some of its visitors.  The longer it takes a website to load, the more likely the site is to be hurting its standing with Google. The search giant considers site speed as a factor when ranking web pages in search results.  
  
 
==How Can I Make My Website Load Faster?==
 
==How Can I Make My Website Load Faster?==
 +
----
 
Here are some relatively simple and quick fixes to speed up your website.   
 
Here are some relatively simple and quick fixes to speed up your website.   
  
 
Some of these things you may be able to do yourself. For the rest, your hosting company or the person or company that created your website for you should be able to make these changes pretty easily for you.
 
Some of these things you may be able to do yourself. For the rest, your hosting company or the person or company that created your website for you should be able to make these changes pretty easily for you.
  
==#1 [[Compression Can Help Speed Up Your Site|Website Compression]]==
+
===#1 Website Compression===
Compressing your website's content -- with [[Compression Can Help Speed Up Your Site|gzip compression]], for example -- can help speed up the time it takes your webserver to send your website's content to your visitors.   
+
[[Learn/Compression-Can-Speed-Up-Your-Site|Compressing your website's content]] - using gzip compression, for example - can help reduce the time it takes your webserver to send your website's content to site visitors.   
  
Compression affects the text elements of your website -- HTML, javascript, and CSS -- and speeds up the time it takes them to load.  It does not affect the images on your website though, so read on.
+
Compression affects the text elements of your website -- HTML, javascript, and CSS -- and speeds up the time it takes them to load.  For more information on website compression and how to do it, read our [[Learn/Compression-Can-Speed-Up-Your-Site|article about compression]].
  
==#2 Optimize Your Images==
+
Compression does not affect the images on your website though, so read on.
  
:'''a) Don't Use Bigger Images Than You Need'''
+
===#2 Optimize Your Images===
:Don't use a large image just because you can set the width and height in HTML. If you want to display an image that is 100 pixels by 100 pixels, for example, use an image that is that size or scale down the image to that size.
+
 
:It's better to start with an image that isn't bigger than you need, so that it doesn't need to load more than you're going to use. There's no point taking the time to load a huge image, if it's going to be tiny anyway. The image will still look just as good.
+
:'''a) Don't Use Images Any Bigger than Necessary'''
:Ed of [[Deals2Save.net]] suggest the [http://www.smushit.com/ysmush.it/ Smush.it] tool from [[Yahoo.com|Yahoo]] for optimizing images.
+
:Don't use a large image. Yes, you can set the width and height in HTML to 100 pixels by 100 pixels, if that's the size you want to display - but your site will still be carrying a large image that loads slowly. If you want to display an image that is 100 pixels by 100 pixels, use an image of that size, or scale down your large image before placing it on a web page.  
 +
 
 +
:I asked AboutUs community members to share their experiences with compression tools. Ed Mus of [[Deals2Save.com]] recommended a tool he's used to optimize images for load speed: [http://www.smushit.com/ysmush.it/ Smush.it], available at [[Yahoo.com|Yahoo]].
  
 
:'''b) Choose the Best File Format'''
 
:'''b) Choose the Best File Format'''
:Also, the file format of your images can help. Unless something is a true photo with a huge range of colors, using a GIF or PNG (rather than a JPG) is usually fine and should load faster.
+
:The file format of your images can help you or hurt you. Don't use a JPG file unless you want to include a photograph with a huge range of colors. For most images, using a GIF or PNG file is usually fine, and these types of files load faster.
 +
 
 +
:*'''GIF''' is great for images with few colors - for example, most company logos. 
 +
:*'''PNG''' is a file format specifically for websites. PNG images have good quality, but sometimes they don't display in Internet Explorer 6.
 +
:*'''JPG''' is a traditional and common file format for photos. JPGs are good if you really want a highly detailed and possibly slow-loading photo for a specific reason.
 +
 
 +
:'''c) Don't Use Images If You Don't Need To'''
 +
:Your logo or a photo must be included as images - there's no other way to convey them to your site visitors. But many websites put things like a phone number, address or other text into an image, even though it's not necessary. And really, it's not a good practice. Images are not only slow to load, they're also essentially invisible to search engines, unless they include descriptive [[Glossary/Alt-text|alt text]]. Search engines can't "see" the information in an image, so use text to convey any information that can be rendered as text.
 +
 
 +
:'''d) Don't Half-Reference Images'''
 +
:Having HTML code in your web page that includes an <img> tag that doesn't specify the image source is like telling someone "Hang this picture on the wall, please" and not giving them the picture. They will probably stand there confused for a minute, and that's what can happen to a web browser that's trying to load your web page.
 +
 
 +
:This is what the HTML code for an <img> tag without a source looks like:
 +
:<img src="" />
 +
:A properly formatted <img> tag should include the source of the image like this:
 +
:<img src="NameOfImage.jpg" />
 +
 
 +
:The [http://www.aboutus.org/site-report/buy AboutUs Site Report] will check your website's pages for any images that don't specify the source so you can easy fix or remove them.
 +
 
 +
:'''e) Include Width and Height Dimensions'''
 +
:When a web browser loads the assets and code that make up the web page and it comes to display an image that doesn't specify the width and height size that it should be displayed in, the web browser has to stop loading the rest of the web page and wait until it finishes loading that image.
 +
 
 +
:If the <img> tag included a width and height attribute specifications in the image's HTML code, then it wouldn't have to wait and it could continue loading the rest of the web page at the same time.
 +
 
 +
:Want to know which pages on your website have images that don't specify width and height? You can look manually, or the [http://www.aboutus.org/site-report/buy Site Report] can do that for you.
  
:*'''.GIF''' is great for images with few colors -- like logos, for example.
 
:*'''.PNG''' is a file format specifically for websites. PNG images have good quality, but they don't always display in Internet Explorer 6.
 
:*'''.JPG''' is a traditional and common file format for photos. It's best to convert a JPG image to a PNG.
 
  
:'''c) Don't Use Images When You Don't Need To'''
+
===#3 Put Your Code in Optimum Order===
:Things like your logo and a true picture can only be accomplished through an image; that's a given.  But many websites have things in images that don't need to be -- like their phone number or other text.  To search engines, images are hardly anything more than their [[Glossary/Alt-text|alt text]] -- so it's much better to use normal text instead of text in images.
+
Placing your style sheets (CSS) near the top and JavaScript near the bottom of the coding for each of your web pages can improve the ''perceived'' speed of your website for human visitors.  
  
==#3 Put Your Code in Optimum Order==
+
When someone directs a web browser to a web page, the browser starts from the top of the code and works its way down. The style sheets are one of the more important pieces for human viewers, because they determine how the site will look. After that, your website's actual content will load pretty quickly. It's as if the style sheets set out a framework, and then the content loads into that framework.
Placing your style sheets near the top and javascript near the bottom of your website's code, or HTML, can help improve the perceived speed of your website to people.  When a web pages loads, the browser starts from the top of the code and works its way down.
 
  
The style sheets are one of the more important pieces for human viewers, because they determine how the site will look. After that, your website's actual content will load pretty quickly to fill it in.
+
The JavaScript - or <script> tags - provide things like interactive features or actions that your viewer won't notice unless they perform an action on a web page. So allowing the JavaScript to load last means your visitors see everything on the page that's visual, even while the JavaScript is still loading. So your visitors see your page as loading faster than it really does.  
  
The javascript or <script> tags of your website provide functionality, but your website usually won't look any different before the javascript loads. So your javascript might as well load last, thus making your site feel faster to people.
+
Why does this matter? Because people are impatient. If a web page seems very slow, they're more likely to leave.
  
==#4 Remove External Code You're Not Using==
+
Want to know if your website has CSS or JavaScript in the wrong place? The [http://www.aboutus.org/site-report/buy AboutUs Site Report] will warn you of any pages that need attention.
Many websites have some code in them that is actually pulling from a different service out of their control. For example, a website may use a "share" button from another service like [[AddThis.com|AddThis]], an e-commerce shopping cart, or a widget that shows their latest tweets on [[Twitter.com|Twitter]]. The code for [[Learn/Crash-Course-in-Google-Analytics|Google Analytics]] is also something external that can slow down your site a little, although the insight it can provide usually makes it more than worth it.
 
  
It's wise to check the speed of things like these if you're not using them, or if you would rather have the added speed than that particular feature.
+
===#4 Remove Unnecessary External Code===
 +
Many websites have some code whose purpose is to pull something from a service that's out of their control. For example, a website may use:
 +
* A "share" button from a service such as [[AddThis.com|AddThis]]
 +
* An e-commerce shopping cart provided by another company
 +
* A widget that displays the company's recent tweets on [[Twitter.com|Twitter]]
  
==#5 Get Specific Recommendations From These Tools==
+
The code for [[Learn/Crash-Course-in-Google-Analytics|Google Analytics]] can also slow your site down a bit, though the insights you'll gain from using analytics usually outweigh this slight disadvantage. I recommend that you take advantage of other speed improvements, and keep the analytics.
  
 +
It's wise to check the speed of any external features on your site. If you aren't using a feature, or if it is of minimal value to your business and website, you should remove it.
 +
 +
Want to know if your website's pages are using a lot of JavaScript? The [http://www.aboutus.org/site-report/buy Site Report] will warn you of any pages that reference more than 3 external JavaScript files.
 +
 +
===#5 Use ETags===
 +
An ETag is how browsers identify if a web page has changed since the user last visited the page. If someone visits a web page that has an ETag, the next time they visit that page the web browser will first check the the HTTP headers for a new ETag. If the web server returns a new ETag, this indicates that the page has changed and the browser needs to redownload it. If the ETag has not changed, the page can be loaded much faster because the browser can use the content that has been cached - or remembered and stored.
 +
 +
An ETag is a great way to make your site load faster for your repeat visitors, but it does not make your web pages load faster for people who have never been to your website before.
 +
 +
ETags are served by your web server, and configuring web servers to serve ETags is different for each server. To set up ETags for your web pages, you should talk to your webmaster or hosting company.
 +
 +
Don't know if your website uses ETags? The [http://www.aboutus.org/site-report/buy Site Report] will tell you which pages on your website don't utilize ETags, plus much more to help your site speed and rank in search engines.
 +
 +
===#6 Get Specific Recommendations for Increasing Site Speed===
 
[[Image:WebmasterToolsSpeed.png|right|300px|Google Webmaster Tools' section about site speed]]
 
[[Image:WebmasterToolsSpeed.png|right|300px|Google Webmaster Tools' section about site speed]]
* If you have Google Webmaster Tools for your site, you can find information on how fast your site loads for Google.  (See image at right.)  They will also provide some rough/technical suggestions for improving your site's performance, or speed.
+
* If you use Google Webmaster Tools for your site, you can find out how fast your site loads for Google.  (See image at right.)  You'll also find some general technical suggestions for improving your site's performance, speed or both.
 +
 
 +
*If you browse the web using Firefox and already have the [https://addons.mozilla.org/en-US/firefox/addon/firebug/ Firebug] add-on, you might find [[Yahoo.com|Yahoo]]'s [http://developer.yahoo.com/yslow/ YSlow] and [[Google.com|Google]]'s [http://code.google.com/speed/page-speed/download.html Page Speed] extensions quite helpful. While you're viewing a web page, you can click on these extensions to pull up information about why that web page is slow, and get ideas for improving its speed.
  
*If you browse the web using Firefox and have the [https://addons.mozilla.org/en-US/firefox/addon/firebug/ Firebug] add-on already, [[Yahoo.com|Yahoo]]'s [http://developer.yahoo.com/yslow/ YSlow] and [[Google.com|Google]]'s [http://code.google.com/speed/page-speed/download.html Page Speed] can be helpful extensions. While you're viewing a web page, you can just click on them to pull up information about why that web page is slow and ideas for improving its speed.
+
* Google introduced a new tool on March 31, 2011 called [http://googlewebmastercentral.blogspot.com/2011/03/introducing-page-speed-online-with.html Page Speed Online]. It analyzes the speed of web pages -- and the mobile version of pages -- and gives suggestions for improving their load time.
  
==#6 Get a Better Host==
+
===#7 Get a Better Website Host===
{{PullQuote|right|Really, the best thing someone can do to speed up their website is to have a site hosted at an operator that knows what they are doing.|[[User:Karl Matthias|Karl Matthias]], AboutUs.org's System Administrator}}
+
{{PullQuote|right|Really, the best thing someone can do to speed up their website is to have a site hosted at an operator that knows what they are doing.|[[User:Karl Matthias|Karl Matthias]], system administrator at AboutUs.org}}
For the majority of websites, many of the things that can speed up a website -- or make it slow -- are something that can only be controlled by the hosting company. For this reason, having a good and competent host is important.
+
For the majority of websites, many factors that can speed up a website - or slow it down - are in the control of the company that hosts the site. That's why it's important to have a competent host that responds quickly when you have a question or problem.  
  
If your website is loading very slowly, a decent part of that can be blamed on our hosting company. You may want to consider upgrading to the next hosting package with your current host (if it can promise increased speed), or changing to a host that has a better offering or reputation.
+
If your website is loading too slowly, you probably want to look at your hosting company's service first. You may want to consider upgrading to a better hosting package with your current hosting company, if the better package includes a promise of increased speed. Otherwise, shift your site to a hosting company with a better offering, reputation, or both.
  
Note: Not all hosts and plans support all types of website software. Before you make a switch, make sure the hosting company and your package can handle everything on your website.
+
'''Note:''' Depending on the type of website software you use, not every host or hosting plan will be able to accommodate your site. Before you switch, make sure the company and hosting package you're considering can handle everything on your website.
  
 
Some good hosting companies:
 
Some good hosting companies:
 
* {{LinkPair|DreamHost.com|DreamHost}}
 
* {{LinkPair|DreamHost.com|DreamHost}}
* {{LinkPair|polur.net}}
+
* {{LinkPair|Polur.net}}
 
* {{LinkPair|GoDaddy.com|GoDaddy}}
 
* {{LinkPair|GoDaddy.com|GoDaddy}}
 
* {{LinkPair|BigWetFish.co.uk}}
 
* {{LinkPair|BigWetFish.co.uk}}
Line 89: Line 146:
 
* {{LinkPair|Dotster.com|Dotster}}
 
* {{LinkPair|Dotster.com|Dotster}}
  
For the more technically inclined, there is also [http://aws.amazon.com/ec2/ Amazon EC2], [[SliceHost.com|Slicehost]] and [[Linnode.com|Linnode]].
+
For the more technically inclined, consider [http://aws.amazon.com/ec2/ Amazon EC2], [[SliceHost.com|Slicehost]] and [[Linnode.com|Linnode]].
  
==How do I make these changes?==
+
===How Do I Make These Changes?===
Some of the above suggestion are things you may be able to do yourself through whatever interface or system you use to edit your website's content.  
+
----
 +
You may be able to implement some of the suggestions above yourself through the system you use to edit your website's content.  
  
For the rest, your hosting company or the person or company that created your website for you should be able to make these changes pretty easily for you.
+
If you use WordPress, the [http://wordpress.org/extend/plugins/w3-total-cache/ W3 Total Cache plug-in] may be a good do-it-yourself solution.
  
 +
For anything you can't do yourself, ask your website hosting company, or the person (or firm) who created your website for you.
  
''Want more? For more complicated and technical methods for speeding up your website, see [http://developer.yahoo.com/performance/rules.html Yahoo's list] and [http://code.google.com/speed/articles/ Google's articles].''
 
  
 +
''Want more? For more complicated and technical methods for speeding up your website, see [http://developer.yahoo.com/performance/rules.html Yahoo's list of rules for site performance] and [http://code.google.com/speed/articles/ Google's articles on site speed].''
 
{{LearnBottomBio
 
{{LearnBottomBio
 
| Writer        = KristinaWeis
 
| Writer        = KristinaWeis
Line 104: Line 163:
 
| Image        = Image:KristinaBluesFest.png
 
| Image        = Image:KristinaBluesFest.png
 
| AuthorWebsite = AboutUs.org
 
| AuthorWebsite = AboutUs.org
| ShortBio      = Kristina is a community manager for [[AboutUs.org]] who talks with a lot of website owners who are trying to promote their business online. <small>Have a question? [[Kristina Weis#Contact_Kristina|Contact me]].</small>
+
| ShortBio      = Kristina is a community manager and burgeoning SEO at [[AboutUs.org]] who talks with a lot of website owners who are trying to promote their business online. <small>Have a question? [[Kristina Weis#Contact_Kristina|Contact me]].</small><br />{{Twitter|KristinaWeis}}
 
}}
 
}}
__NOTOC__
 

Latest revision as of 16:43, 7 November 2013

By [[User:|]] on

Faster Websites Can Rank Better


Help your website be faster than this snail. (Photo from Flickr CC by Randy Son Of Robert.)

Having a fast site - or at least a site that's not slower than the average - can help you gain or maintain good search engine rankings and traffic to your website.

Some chilling statistics:

  • 47% of consumers expect a website to load in 2 seconds or less source
  • 40% of people abandon a website that takes more than 3 seconds to load source
  • A 1 second delay in page response can result in a 7% reduction in conversions (sales, sign ups, etc.) source
  • A 100 millisecond delay on Amazon.com caused a 1% drop in revenue. source

Site speed refers to how fast all the elements of a web page - its text, images, video clips, etc. - appear in a web browser window after someone clicks a link to that page, or types its URL into the browser navigation bar.

Early in 2010, Google added site speed to its website ranking algorithm. Now a website's loading speed is one of about 200 factors that help Google determine which websites to rank highest in results for a specific search term. That means site speed has to be considered when you're working on your website's search engine optimization (SEO).

Google added site speed because a faster site is better for people, and Google wants its results to be of high value to searchers.

First: Check How Fast Your Site Loads


Use any of these free tools to check how long it takes to load your website into a web browser window:

  • Pingdom's site speed test is a popular tool for checking website load time. It's easy to use.
  • Google Webmaster Tools has a section with information on the speed of your website, from the source that may matter the most. Once you've logged in to Webmaster Tools, click "Labs" on the left, and then "Site Performance."
  • WebPageTest.org's website performance test lets you check the speed and performance of your website in different web browsers such as Internet Explorer 7 or Firefox. It also allows you to test how your site performs in different geographic locations.
  • GTmetrix.com's website speed test combines info from Google Page Speed and Yahoo! YSlow in a nice presentation with a nice list of things you can do.

What's Considered a "Fast" Website?


Alexa sas that Facebook has below average site speed.

To give you an idea, Alexa says that Facebook.com takes just over 2 seconds to load, and that 70 percent of sites are faster. (See image at right.) {{{2}}} (visit) provides traffic statistics for most of the world's top million websites. If your site is in this group, you'll find some good information about your site on Alexa, and you'll be able to compare your site to others in the top million.

In general, a website that loads in 2 seconds or less is doing well. A website that loads in 2 to 5 seconds isn't fast, but it's probably good enough.

A website that takes more than 5 seconds to load is likely to annoy some of its visitors. The longer it takes a website to load, the more likely the site is to be hurting its standing with Google. The search giant considers site speed as a factor when ranking web pages in search results.

How Can I Make My Website Load Faster?


Here are some relatively simple and quick fixes to speed up your website.

Some of these things you may be able to do yourself. For the rest, your hosting company or the person or company that created your website for you should be able to make these changes pretty easily for you.

#1 Website Compression

Compressing your website's content - using gzip compression, for example - can help reduce the time it takes your webserver to send your website's content to site visitors.

Compression affects the text elements of your website -- HTML, javascript, and CSS -- and speeds up the time it takes them to load. For more information on website compression and how to do it, read our article about compression.

Compression does not affect the images on your website though, so read on.

#2 Optimize Your Images

a) Don't Use Images Any Bigger than Necessary
Don't use a large image. Yes, you can set the width and height in HTML to 100 pixels by 100 pixels, if that's the size you want to display - but your site will still be carrying a large image that loads slowly. If you want to display an image that is 100 pixels by 100 pixels, use an image of that size, or scale down your large image before placing it on a web page.
I asked AboutUs community members to share their experiences with compression tools. Ed Mus of Deals2Save.com recommended a tool he's used to optimize images for load speed: Smush.it, available at Yahoo.
b) Choose the Best File Format
The file format of your images can help you or hurt you. Don't use a JPG file unless you want to include a photograph with a huge range of colors. For most images, using a GIF or PNG file is usually fine, and these types of files load faster.
  • GIF is great for images with few colors - for example, most company logos.
  • PNG is a file format specifically for websites. PNG images have good quality, but sometimes they don't display in Internet Explorer 6.
  • JPG is a traditional and common file format for photos. JPGs are good if you really want a highly detailed and possibly slow-loading photo for a specific reason.
c) Don't Use Images If You Don't Need To
Your logo or a photo must be included as images - there's no other way to convey them to your site visitors. But many websites put things like a phone number, address or other text into an image, even though it's not necessary. And really, it's not a good practice. Images are not only slow to load, they're also essentially invisible to search engines, unless they include descriptive alt text. Search engines can't "see" the information in an image, so use text to convey any information that can be rendered as text.
d) Don't Half-Reference Images
Having HTML code in your web page that includes an tag that doesn't specify the image source is like telling someone "Hang this picture on the wall, please" and not giving them the picture. They will probably stand there confused for a minute, and that's what can happen to a web browser that's trying to load your web page.
This is what the HTML code for an tag without a source looks like:
A properly formatted tag should include the source of the image like this:
The AboutUs Site Report will check your website's pages for any images that don't specify the source so you can easy fix or remove them.
e) Include Width and Height Dimensions
When a web browser loads the assets and code that make up the web page and it comes to display an image that doesn't specify the width and height size that it should be displayed in, the web browser has to stop loading the rest of the web page and wait until it finishes loading that image.
If the tag included a width and height attribute specifications in the image's HTML code, then it wouldn't have to wait and it could continue loading the rest of the web page at the same time.
Want to know which pages on your website have images that don't specify width and height? You can look manually, or the Site Report can do that for you.


#3 Put Your Code in Optimum Order

Placing your style sheets (CSS) near the top and JavaScript near the bottom of the coding for each of your web pages can improve the perceived speed of your website for human visitors.

When someone directs a web browser to a web page, the browser starts from the top of the code and works its way down. The style sheets are one of the more important pieces for human viewers, because they determine how the site will look. After that, your website's actual content will load pretty quickly. It's as if the style sheets set out a framework, and then the content loads into that framework.

The JavaScript - or |} For the majority of websites, many factors that can speed up a website - or slow it down - are in the control of the company that hosts the site. That's why it's important to have a competent host that responds quickly when you have a question or problem.

If your website is loading too slowly, you probably want to look at your hosting company's service first. You may want to consider upgrading to a better hosting package with your current hosting company, if the better package includes a promise of increased speed. Otherwise, shift your site to a hosting company with a better offering, reputation, or both.

Note: Depending on the type of website software you use, not every host or hosting plan will be able to accommodate your site. Before you switch, make sure the company and hosting package you're considering can handle everything on your website.

Some good hosting companies:

For the more technically inclined, consider Amazon EC2, Slicehost and Linnode.

How Do I Make These Changes?


You may be able to implement some of the suggestions above yourself through the system you use to edit your website's content.

If you use WordPress, the W3 Total Cache plug-in may be a good do-it-yourself solution.

For anything you can't do yourself, ask your website hosting company, or the person (or firm) who created your website for you.


Want more? For more complicated and technical methods for speeding up your website, see Yahoo's list of rules for site performance and Google's articles on site speed.


Retrieved from "http://aboutus.com/index.php?title=Learn/7-Easy-Ways-to-Improve-Your-Site-Speed-for-SEO&oldid=27618827"