How To Reduce HTTP Requests To Speed Up Your Site

Most of us are blissfully unaware of the technical feats happening in the background when we browse to a webpage. We typically only notice that there is some technical failure when the site we’re visiting takes such a long time to load that we get impatient and click refresh or the site outright displays an error message.  In actuality, there’s a lot that goes on between your web browser and the web page you’re visiting.

For digital marketers, it might seem that their expertise only needs to be focused on Search Engine Optimization, content marketing, and Pay Per Click. But, their hard work is never going to see the page one light of day on the Search Engine Results pages if the page’s load speed is extremely slow. Visitors will just click away to a site that loads quickly and without any errors.

In Pursuit of a Better User Experience

One of the main reasons for a slow site speed is a high number of HTTP (Hyper Text Transfer Protocol) requests.

In a nutshell, an HTTP request entails the following procedure when you decide to visit a website:

  1. Your web browser communicates with the web server that hosts the relevant site that you are trying to visit.
  2. The web browser asks the host servers to send it all the files that make up the page you’re visiting. This includes all of the text, images, and multimedia.
  3. The host then acknowledges your web browser’s request, sending over the files that make up the webpage, which are rendered as they’re received within your web browser.

Are You Taking Too Long to Respond?

Imagine it is your website that is being visited. Before the files can display on the visitor’s browser, a separate HTTP request will be made for every file that makes up that pages (images, javascripts, style sheets, etc). There can be many large files that can take an extremely long time to download. Most great sites these days have data that carry high definition images and can result in slow load times. This makes the Google Algorithm unhappy, and you get penalized. This can cause you to lose your top spot on the search engine results page.  On top of losing position in search results, it’s shown that your potential visitors will not stick around to wait for a slow page to load, and you can say goodbye to conversions. In fact, 47% of visitors to a site want to see a load speed of fewer than 2 seconds! (KISSmetrics report). After three seconds, you can expect 40% of people to hightail it out of there to find a faster solution.

The ideal number of files that make up a single web page is 10-30 files, but these days we see the number of HTTP requests balloon to over 100 per page on some sites!

How Can You Lower Your HTTP Requests?

  1. Check your website’s current HTTP request number to see what is taking the longest to load. This can be done via AlertBot’s detailed and easy-to-read waterfall chart.
  2. Eliminate all large, unnecessary images that aren’t contributing any value.
  3. Optimize your remaining images by reducing the file size. Many servers automatically compress images for you, but you must double check.
  4. Video and other social media integration tools could be adding seconds to your load speed, and then you will need to decide whether they are essential to your site.
  5. Remove JavaScript, or at the very least make it asynchronous. A browser will always load an entire JavaScript file before loading the rest of the page. This can take up a significant amount of the load speed lag.
  6. Ask your developer to combine CSS files to increase load speed. You can also use CSS Sprites to put all your image requests into just one.

Sounds technical, right?

AlertBot can provide you with the tools you need to pinpoint performance issues and help set you on the right path to better website performance. AlertBot offers a Free 14-day trial (without collecting any billing info).  Give us a try!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s