Frontend Optimization, pt.1

May 10th, 2010   Posted by steve in Code

In this first part of our multipart Frontend Optimization series I’ll cover my notes from Steve Souder’s “High Performance Websites” and “Even Faster Websites” books that can help reduce HTTP Requests on your website.

  1. Combine as many background images that don’t tile into sprites as possible while checking to ensure that larger images combined don’t increase file size.
  2. Combine js files into one single file. Note: Checkout Sprockets, getsprockets.org
  3. Combine all of the CSS files into one file.
  4. Remove any assets you’re not using such as, images, js files, stylesheets, movies, audio files, etc. It may seem obvious but sometimes they slip through the cracks during a long development process.
  5. Remove duplicate assets, JS files can be an easy culprit.
  6. Base64 encoded images. Make sure the base64 images don’t have horrendus file size increases, but other than that the don’t require an http request. Note: hedgerwow.com has a php script to allow base64 on IE7 and below.

Part 1 2 3 4

3 Responses to “Frontend Optimization, pt.1”

  1. [...] 1 2 3 [...]

  2. [...] 1 2 3 [...]

  3. [...] 1 2 3 4 5 Last 5 posts by steveFrontend Optimization, pt. 4 – June 11th, 2010Frontend Optimization, [...]

Leave a Reply