RSS Feed

25 Website Speed Tips

Speed kills. In the case of website usability, the lack of speed kills. Many

have erroneously assumed the advent of high speed internet connections would

make website performance optimization irrelevant. On the contrary, it seems as

internet connection speeds increase, users simply become more impatient and

demand faster browsing. Below, I’ve gathered some simple (and advanced) ways to

speed up your site.

Image Optimizing Tips:

  1. Compress .jpg and .gif images: If you use Photoshop, always use the “Save for Web” feature. If you don’t have access to PS, there’s a ton of free image compressing freeware out there.
  2. Compress or eliminate unnecessary Flash elements: In my opinion, flash is over-rated, slow, and buggy. It has it’s benefits, but make sure you don’t rely on it for navigation or other necessary site elements.
  3. Don’t Resize Images within HTML: Don’t use the width or height attribute in the IMG tag to resize larger options. For example, if you resize an image that was originally 300 x 300 to 100 x 100, the user still has to download the full size one. Instead, use thumbnails.
  4. Specify Image Dimensions: Don’t leave the width or height attributes blank. By doing so, you’ll slow down the browser rendering of the page, since it doesn’t know how much space to give for each image.
  5. Slice Your Images: Slicing doesn’t actually reduce image size (in fact, it increases the overall size). However, it does increase the apparent load time by making each slice appear one at a time rather than one big image popping up after it downloads.
  6. Avoid Too Many Slices: Don’t use too much of a good thing. As mentioned above, each slice actually increases the total size. I would recommend using no more than 4 slices, unless you are dealing with a huge image.
  7. Coding Tips

  8. Use CSS instead of Images: Cascading style sheets can do more than you think. Many sites make effective use of CSS

    formatting and eliminate the need for excessive images. Even effective brand logos can be created with CSS. CSS Zen Garden has some examples of creative use of CSS.

  9. Convert from Table to CSS based layout: Tables are ok for displaying data in columns and rows, but is grossly inefficient for designing web page layouts. By using DIV tags with CSS, you can cleanup your code extensively, which will reduce page load time and also offer SEO benefits.
  10. Use External Style Sheets: Rather than formatting through embedded inline styles in pages or html elements, reference an external css files that the entire site can reference. The browser will cache this page on the first visit, so it won’t need to download it repeatedly.
  11. Use External Javascript: Similar to above, put all of your JavaScript functions in an external file for caching benefits.
  12. Remove Unnecessary White Space in HTML: Surprisingly,

    white space hogs a lot of disk space.

  13. Use Shorthand CSS: Instead of putting each CSS attribute on its own line, use shorthand CSS to prevent extra line breaks in your external CSS file.
  14. Use CSS Images instead of IMG tag: An easy way to speed up the rendering of an image is to simply call as a background of a div tag.
  15. Use Relative Links: Removing the ” http://yoururl ” from the beginning of every link will shed some weight. Just be careful not to allow people to jump back and forth between secure and insecure pages, which will generate one of those annoying “insecure items” errors in the

    browser.

  16. Specify the DocType: Pages that have the DocType specified tend to load faster than those that don’t.
  17. Server & Database Tips

     

  18. Reduce Http requests from other sites: Try to eliminate connecting to other servers to

    retrieve images, audio, or video. Each http:// connection only slows things down.

  19. Don’t Use Https://: Don’t use secure pages if you don’t have to. Connecting through secure http is about 3 times slower than regular http. Obviously, your checkout process needs to be secure, but your product pages most likely do not. In addition, make sure your navigation doesn’t use relative links which forces users to flip flop between secure and non-secure pages.
  20. Upgrade your Web Server: Just like that old PC you bought 5 years ago, web servers can go down hill and become outdated.
  21. Use Gzip Compression to Reduce HTML Size: Gzip is great for compressing html code, however it does nothing for images, flash, or other embedded files. Many open source programs such as WordPress and Joomla already support it.
  22. Upgrade Server Memory: A boost in memory resources on your server can reduce processing time and greatly increase performance.
  23. Upgrade your Database Server Hard Drive: The faster your server’s hard drive is able to access data, the faster it can serve up files. A fast hard drive is especially important for your database server.
  24. Separate Content and Database Servers: If you have a high traffic, database driven website, you can benefit by placing your content on one server and your database on another. In addition to the speed benefits, it is more secure.
  25. Other Tips

     

  26. Loading Progress Indicators: By letting users know that you are processing their request, you can assuage their impatient fears. This won’t necessarily speed things up, but it will update them on the progress.
  27. Use AJAX instead of Page Refreshes: Interacting with a web page is far different than interacting with your computer OS. Imagine if Windows XP had to refresh the whole screen ever time you perform an action like websites do? In the next few years, we will probably see more adoption of AJAX technology, which will make page refreshing

    unnecessary.

  28. Reduce Size & Number of Cookies: Each time a browser makes a request, cookies must be transmitted. Keep an eye on the total number and size of the cookies your site uses.

Fore more

E-commerce optimization tips, please visit the
Palmer Website Usability blog.

Justin Palmer is the webmaster for Not of This World (NOTW) Clothing, which

sells Womens and Men’s Christian clothing.

Share and Enjoy:
  • RSS
  • Twitter
  • StumbleUpon
  • Digg
  • del.icio.us
  • Sphinn
  • Facebook
  • Mixx
  • Diigo
  • Reddit
  • Google Bookmarks
  • email
  • PDF

Related posts:

  1. Faster Next Gen Website
  2. Free Website Tools
  3. Take Care Before you Sell a Website!
  4. No Traffic? 4 Easy Steps To Sell A Website Regardless
  5. How to Imbed A Slideshow on You Website

Leave a Reply

Recommended Partners

HostGator

Theme Forest

Recommended Resources
Recommended Books
  • Buying And Shipping A Car From Copart, Manheim, Or IAAI | Affiliate ... February 9, 2012
    ... For Busy Marketers · Elite Social Marketing · Software PLR Phantom · Speak Geek in 24 Hours · Squeeze Pages Exposed · Tube Traffic Tactics · Twitter Boom · Twitter Marketing Course · Video Marketing Guide · 24 Hour Website Flipping ... […]
  • All Types Of Cars At Discount Costs At Authorities Listings | Affiliate ... February 9, 2012
    ... For Busy Marketers · Elite Social Marketing · Software PLR Phantom · Speak Geek in 24 Hours · Squeeze Pages Exposed · Tube Traffic Tactics · Twitter Boom · Twitter Marketing Course · Video Marketing Guide · 24 Hour Website Flipping ... […]
  • Seized Auto Listings. Are They Worth Efforts | Affiliate Money Maker February 9, 2012
    ... For Busy Marketers · Elite Social Marketing · Software PLR Phantom · Speak Geek in 24 Hours · Squeeze Pages Exposed · Tube Traffic Tactics · Twitter Boom · Twitter Marketing Course · Video Marketing Guide · 24 Hour Website Flipping ... […]
  • Salvage Wrecked Vehicles – The Right Alternative To New Factory ... February 9, 2012
    ... For Busy Marketers · Elite Social Marketing · Software PLR Phantom · Speak Geek in 24 Hours · Squeeze Pages Exposed · Tube Traffic Tactics · Twitter Boom · Twitter Marketing Course · Video Marketing Guide · 24 Hour Website Flipping ... […]
  • [WTS] Autopilot Fashion products amazon affiliate store for sale ... February 9, 2012
    Website Flipping · Guest Post · Flippa Disclaimer · About · Contact Me · FDR (MUST SEE). Log in or Register. Close. Remember me. Lost your password? Flipping Dude · Building Websites · Monetizing Websites · SEO · Domains · Coupons ... […]
  • valentines.biz (800 USD) l Flipping Dude February 9, 2012
    Website Flipping · Guest Post · Flippa Disclaimer · About · Contact Me · FDR (MUST SEE). Log in or Register. Close. Remember me. Lost your password? Flipping Dude · Building Websites · Monetizing Websites · SEO · Domains · Coupons ... […]
  • Latest Website Flipping Auctions ... February 9, 2012
    US $12.99. End Date: Saturday Feb-25-2012 7:23:06 PST Buy It Now for only: US $12.99. Buy it now | Add to watch list · This is Flipping Amazing! Flipping Websites for Profits NOW! US $10.46. End Date: Saturday Feb-25-2012 21:07:31 PST ... […]
  • SiteFlippingStrategy.com – What are the USB “extension ports” on ... February 9, 2012
    4-M Mobile Marketing *** Advertising Company Dallas Texas*** · Where can I go to find the best website to search what's on cable so I don't have to flip through channels · What is website flipping and reasons why flipping is getting more ... […]
  • Latest Instant Siteflipping Auctions ... February 9, 2012
    ... Latest Flipping Websites Auctions · Latest Flip Websites Auctions · Latest Website Flipping Auctions · Latest How To Flip Websites Auctions · Latest Flip Websites Auctions · Latest Website Flipping Auctions · Latest Sell Websites Auctions ... […]
  • Latest Website Flipping Auctions ... February 9, 2012
    Hey, check out these auctions: Protect Your Privacy While Creating A Proxy Website And Flipping It - MRR. US $4.97. End Date: Monday Mar-05-2012 10:51:45 PST Buy It Now for only: US $4.97. Buy it now | Add to watch list. Cool, arent they? […]
Archives
Stats