Website speed optimization

  • Average Document Interactive Time: How many seconds until the page is usable?
  • Average Page Load Time: How many seconds to load the page fully?

Tools to evaluate site speed

Code improvement suggestion tools:

  • 137 requests — Crazy! This needs to be cut down to like 30.
  • Load time 3.28s — that’s all right.
  • Page size 1.7MB — Clearly too large, especially for mobile devices in a non-wifi environment.

Caching and CDNs

Caching can result in huge gains. The specific implementation will depend on which website platform you use. For instance, if you’re on WordPress, W3 Total Cache can really help. Consult your developers.

Minimize round-trip times (RTTs)

RTT refers to all the requests required when a user accesses your website. RTT is the time required for a data packet to travel from a specific source to a specific destination and back again.

  • Combine all your javascript files into one to minimize requests. If you’re technically inclined, check out Google Closure Compiler.
  • Combine images with css sprites. The higher the number of images used on a page, the more roundtrips there are between visitor’s browser and the web server. Ideally you merge all tiny background images into one, and use css to show them. Your front-end developer (css guy) should take care of it. Some tools to create css sprites: Compass, SpritePad, Spriteme.
  • Avoid css @import. Instead of @import, use a <link> tag for each stylesheet. This allows the browser to download stylesheets in parallel, which results in faster page load times.
  • Minimize DNS lookups. Avoid using multiple domain names when loading a site.
  • Minimize redirects. If needed, always use http redirects instead of javascript

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ukaigwe Okechukwu

Ukaigwe Okechukwu

full stack Growth marketer obsessed with building growth engines and iterating experiments to optimize the AARRR spectrum for startups (consumer-focused,B2B)