23 ways to optimise your website

Here are 23 ways to optimise your website.

i-marco.nl (6)

  1. Reducing graphic file sizes
  2. Reducing the amount of images
  3. Forcing the browser to perform more simultaneous server requests
  4. Script tags in your header? Move them to the bottom.
  5. Even less HTTP requests: merging CSS and Javascript
  6. Adding GZip compression

Yahoo! (14)

  1. Make Fewer HTTP Requests
  2. Use a Content Delivery Network
  3. Add an Expires Header
  4. Gzip Components
  5. Put CSS at the Top
  6. Move Scripts to the Bottom
  7. Avoid CSS Expressions
  8. Make JavaScript and CSS External
  9. Reduce DNS Lookups
  10. Minify JavaScript
  11. Avoid Redirects
  12. Remove Duplicate Scripts
  13. Configure ETags
  14. Make AJAX Cacheable

Use CSS shorthand properties
e.g. body { background: url("bg.gif"); background-color: #fff; background-repeat: repeat-x; }

Cache your content
Make use of caching plugins, in this case for WordPress, like wp-cache.

Use a trailing slash at the end of directory or root URLs
This avoids the server roundtrip: “the trailing slash tells the server to use the default document list for that folder and load that page. Without it the server first looks for a matching document name, then a folder with that name and use default doc list, finally performing a redirect (302) to that document. So using the trailing slash saves a certain amount of server load and aids the speed the document will load.”

Further reading:
On a quest for ultimate website performance
Yahoo! Developer
Faster Page Loads - Bundle Your CSS and Javascript
CSS shorthand
Web Site Optimization
PHP Packer
Clean CSS

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • description
  • ThisNext
  • MisterWong
  • Wists

Leave a Reply

You must be logged in to post a comment.