• Search Engine Land
  • Sections
    • SEO
    • SEM
    • Local
    • Retail
    • Google
    • Bing
    • Social
    • Resources
    • More
    • Home
  • Search Engine Land
  • SEO
  • SEM
  • Local
  • Retail
  • Google
  • Bing
  • Social
  • Resources
  • Live
  • More
  • Events
  • SUBSCRIBE

Search Engine Land

Search Engine Land
  • SEO
  • SEM
  • Local
  • Retail
  • Google
  • Bing
  • Social
  • Resources
  • More
  • Newsletters
  • Home
SEO

29 Ways To Speed Up Your Website

There are so many reasons to make your website faster:  Higher conversion rates, lower bandwidth costs and yes, higher rankings in organic search. Frankly, I’m stunned how often web teams resist doing it. Here’s a list from easy to not-so-easy, of 29 ways you can get things running faster on your website: Put your images on […]

Ian Lurie on March 31, 2011 at 9:07 am
  • More

There are so many reasons to make your website faster:  Higher conversion rates, lower bandwidth costs and yes, higher rankings in organic search.

Frankly, I’m stunned how often web teams resist doing it.

Here’s a list from easy to not-so-easy, of 29 ways you can get things running faster on your website:

  1. Put your images on a separate domain. Services like Amazon S3 make this very easy. Open an S3 account. Point a subdomain like ‘blah.yoursite.com’ at the S3 storage. Put your images there. Web browsers can load from multiple domains simultaneously, creating the impression that your site is faster. Plus, you’ll use less of your own server’s bandwidth and CPU. Every little bit helps.
  2.  

  3. Or, just put your images on Flickr and use them as your separate domain.
  4.  

  5. Compress images using the right file type. Use ‘lossy’ compression—JPEG—for photos and images with lots of colors. Use ‘lossless’ compression—PNG and GIF—for line art and images with only a few colors.
  6.  

  7. Resize images before you upload them. Don’t resize images using height and width! Resize them using Photoshop, or Fireworks, or whatever. Forcing people to download a 1,000-pixel-wide image to fill a 150-pixel-wide thumbnail is just cruel.
  8.  

  9. Learn to write decent code. The average enterprise content management system (CMS) or shopping cart spits out nasty HTML code. Clean it the heck up. You are in charge, not the server. Any server can generate clean code with a little tweaking. So tweak.
  10.  

  11. Put your CSS in separate .css files, not embedded in each page.
  12.  

  13. Split up your CSS. Create one stylesheet that holds only styles used on every page of your site. Then create separate stylesheets for each unique page layout: Your home page, a typical article page, a typical product page, etc. Load only what you need on each page.
  14.  

  15. Learn to use CSS. If you can use <p> instead of &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=”blue” style=”font-size:10pt;font-weight:bold;”>, you’ll end up saving a lot of space. And, people like me won’t laugh at you.
  16.  

  17. Put your javascript in .js files. Don’t put it embedded in each page. It’s just… dumb. If you embed javascript, then every visiting browser, including Googlebot, has to download that code every time it hits every page. If you put it in a .js file, on the other hand, then Googlebot ignores it, and visiting browsers cache it.
  18.  

  19. Split up your javascript, same as you split up your CSS.
  20.  

  21. Defer javascript loading whenever possible. You can do a Google search for ‘deferred javascript’ and get some great resources for this.
  22.  

  23. Chuck the Flash. Just do it. There are plenty of other ways to animate elements on the page. If you must use Flash, then use it only in small nuggets on the page.
  24.  

  25. Set up GZIP compression on your web server.
  26.  

  27. Minify everything: HTML, javascript and CSS. Save a non-minified copy of everything for editing purposes. Don’t use a server-driven, ‘on the fly’ solution, though. That just increases server overhead and, at really high traffic volumes, will slow things way down.
  28.  

  29. Minimize redirects. The statement ‘301 redirects are good for SEO’ does not mean ‘5 consecutive 301 redirects are better than 1’. Don’t use 301 redirects unless you have to. Fix before you redirect.
  30.  

  31. Fix canonicalization issues. ‘Fix’ does not mean ‘use rel=canonical’. It means ‘make sure every page on your site has a single address’. That will improve caching performance, reduce memory usage and speed things up.
  32.  

  33. Invest in decent hosting. If you’re hosting at JimmyBob’s House of Hosting for $5/month, don’t expect to break any speed records. Unless you’re a serious geek, you’ll want to spend money on a decent hosting setup. I’ve seen great performance out of some shared hosting packages (multiple sites per server). But for the fastest possible setup, you’ll want one or more dedicated servers.
  34.  

  35. Set up caching on your server. If you’re using WordPress, use a plugin like W3 Total Cache. If you’re using another tool, learn it and its caching capabilities. Your server does include caching, or can. Unless you bought it from pygmies who used to work at the chocolate factory down the road.
  36.  

  37. Go static. If you’re building your site on PHP, ASP or another scripting language, chances are all of your site pages are in PHP, ASP or the relevant language. Some pages, though, like ‘About us’ and ‘Privacy’, change so rarely that you can likely make them totally ‘static’ .html pages. By doing that, you eliminate one set of calls to your server’s CPU. That’s a small but instant performance gain.
  38.  

  39. If you’re working in .NET, learn to compress the VIEWSTATE variable. That sucker takes up a lot of room in your code. Even better, get rid of the VIEWSTATEW variable until you need it.
  40.  

  41. Correctly configure your server’s memory management. I won’t try to explain this. If it doesn’t make sense, hire someone, or talk to someone, or at least write down “I didn’t configure my server’s memory management.” That way, when your server starts crashing every time traffic exceeds 200 visitors, you can save the poor schmoe elected to fix the problem a lot of time.
  42.  

  43. Put your database on a separate server. If you’ve got a busy site, then you need to put your website on one server and your database on another. Database transactions eat up a lot of server oomph. You want that happening away from your web server. Otherwise, you end with the web and database software in a tug of war for server resources.
  44.  

  45. Learn to use JOINs. Say you’re programming a database-driven site. You need to display, I dunno, all products in 3 categories. You can either: a) Write a snarl of nested loops, thereby driving your server into a state of hysteria and causing local authorities to dump seawater on your hosting location; or b) Learn to use a SQL JOIN statement, and avoid all that hassle. JOINs are faster. If you use them right. Please.
  46.  

  47. Learn to use stored procedures. More database Kung-Fooery. Learn it if you don’t know it. Stored procedures are compiled by the database server and run a lot faster than plain old SQL scripts.
  48.  

  49. Don’t use SSL unless you have to. I’ve argued myself hoarse on this one. If you want to have some fun, come up to me at a party and ask about it. Then watch all the veins in my forehead bulge as I launch into a spittle-infused diatribe about SSL, CPU cycles and other geekery.
  50.  

  51. If you’re on Apache, load only the modules you need. I know. Duh. But most folks leave the defaults set, and that may include modules you don’t need.
  52.  

  53. If you’re on Apache, learn to use AllowOverride, when you really need DNS lookup, and other tips like FastCGI. Read this to learn all the nerdy goodness. Your server will thank you.
  54.  

  55. If you’re on Internet Information Server (IIS), learn performance logging. Then learn your way through the fun, fun, world of IIS tuning. Actually, it’s not that bad. You can start with this Technet page. Just remember to check which IIS version you’re using.
  56.  

  57. Learn to use a server accelerator like Squid, or to use Apache or nginx as a caching proxy. Caching proxies and accelerators are designed to do nothing but store your web server’s dynamic pages and deliver them, really quickly, to the public. We’ve seen sites perform up to 3x faster with a Squid server in place.
  58.  

The list goes on. A site is never ‘fast enough’. What’s important is that you continuously make it faster. You’ll see better returns, happier visitors and higher rankings.


Opinions expressed in this article are those of the guest author and not necessarily Search Engine Land. Staff authors are listed here.



About The Author

Ian Lurie
Ian Lurie is Chief Marketing Curmudgeon and President at Portent, Inc, a firm he started in 1995. Portent is a full-service internet marketing company whose services include SEO, SEM and strategic consulting.

Related Topics

All Things SEO ColumnChannel: SEOHow ToHow To: SEO

We're listening.

Have something to say about this article? Share it with us on Facebook, Twitter or our LinkedIn Group.

Get the daily newsletter search marketers rely on.

Processing...Please wait.

See terms.

ATTEND OUR EVENTS

Lorem ipsum doler this is promo text about SMX events.

Available On-Demand: SMX Create

May 18-19, 2021: SMX London

June 8-9, 2021: SMX Paris

June 15-16, 2021: SMX Advanced

June 21-22, 2021: SMX Advanced Europe

August 17, 2021: SMX Convert

November 9-10, 2021: SMX Next

December 14, 2021: SMX Code

Available On-Demand: SMX

Available On-Demand: SMX Report

×


Learn More About Our SMX Events

Discover actionable tactics that can help you overcome crucial marketing challenges. Our next conference will be held:

Next Event: Sept. 14-15, 2021

Available On-Demand: March 2021

Available On-Demand: October 2020

×

Attend MarTech - Click Here


Learn More About Our MarTech Events

White Papers

  • Gartner Magic Quadrant for Digital Experience Platforms
  • Selecting a Customer Data Platform For Your Organization: The 2020 Gartner Market Guide
  • The Complete Guide to Web Core Vitals
  • The New Era of Automation in SEO
  • Nielsen Annual Marketing Report: Era of Adaptation
See More Whitepapers

Webinars

  • Drive Customer Engagement with the Power of Personalization
  • 7 Use Cases That Prove Why You Should Implement DAM
  • Accelerate Your SEO & Content Marketing Program with 4 Key Milestones
See More Webinars

Research Reports

  • Local Marketing Solutions for Multi-Location Businesses
  • Enterprise Digital Asset Management Platforms
  • Identity Resolution Platforms
  • Customer Data Platforms
  • B2B Marketing Automation Platforms
  • Call Analytics Platforms
See More Research

Attend SMX For Only $199

h
Receive daily search news and analysis.

Channels

  • SEO
  • SEM
  • Local
  • Retail
  • Google
  • Bing
  • Social

Our Events

  • SMX
  • MarTech

Resources

  • White Papers
  • Research
  • Webinars

About

  • About Us
  • Contact
  • Privacy
  • Marketing Opportunities
  • Staff

Follow Us

  • Facebook
  • Twitter
  • LinkedIn
  • Newsletters
  • RSS
  • Youtube

© 2021 Third Door Media, Inc. All rights reserved.

Your privacy means the world to us. We share your personal information only when you give us explicit permission to do so, and confirm we have your permission each time. Learn more by viewing our privacy policy.Ok