How do ad networks impact my site load time?

How do ad networks impact my site load time?

Advertising networks are an important part of most publishers' business plans, but what impact do they have on performance?

Using Dareboost, we tested two client sites using two different ad networks to see the resource usage. In both tests, we compared the site's homepage at 60mb/s (equivalent to a fiber connection) and standard desktop sizes. The only difference was that we turned on Dareboost's ad blocking tools.

We'll keep the sites anonymous, but they are both sites that have had speed issues over the last few years, with themes that don't follow good performance practices, so we're expecting them to be slow and erratic. I'll also note that Dareboost's Ad Blocker seems less effective than Ad Block Pro (which I use in my browser) as it still returned some results that should have been blocked.

Resource Usage 

Wow! An additional 228 resources were requested by Network A! That's pretty intense with a ton of additional html, javascript, images and more. For Network B, the difference was 62 items.

All of those resources were pretty small though, weighing in at 0.67MB for Network A and 0.375MB for Network B. Then again, we host some sites with homepages that weigh in on the higher side of that scale. 

Both sites load over http/2, which should nullify some of the impact of multiple resources if the resources are loaded from the same source. Sadly, there's a lot of sites in the ad network that are not sending resources over http/2. Sadly, less than half the site resources could take advantage of the faster load times available. Results were similar on both networks.

Speed from the server

Speed in server response time was lightning fast on both sites with and without the ads, showing Performance Foundry's CDN, caching and hosting stack are well suited for loading WordPress quickly. We like to see "start render" times around 0.3s, but as noted for the Network A site, this is a theme we know is problematic. 

Speed in browser

Dareboost returns a speed index which measures " the rendering speed of the above the fold part of the page (page's area visible without having to scroll).The faster the rendering is, the smaller the speedindex will be. Google recommendation: less than 1000." (Emphasis theirs.)

Without adblock, the above-the-fold rendering time was as much as half as slow again. Adblocked is on the left, standard is on the right. The ad-blocked time is still outside of Google's recommended time, but we're a mile away with ads on.

Network A:

Network B: 

In both cases we see a significant difference in rendering time. Above the fold is definitely slower; what about the whole page? We can see no noticeable difference in the fully loaded time for ad-blocked or standard pages. 

Network A:

Over the whole operation, the ad-blocked page actually takes longer to render. Thoughts on why below...

We have reached out to Dareboost to understand more about their rendering engine and the impact they believe we're seeing in this test. Below is my best guess on the results, with no time to dig further.

My guess: This site uses a lot of poorly constructed Javascript to render the page, leading to reasonably slow re-write times as the browsers paints something, gets a new command and bounces back to re-paint it again. Removing the ads may be forcing the browser to repaint the spaces again, as heights and widths and elements change.

Network B:

This site returns results that I'd think are more typical, with the site being visually complete in much less time without ads. A significantly different experience for the end user!

Conclusion

This test demonstrated just two loads of the same two sets of pages. We have no control over what ads were loaded, nor -- since these are live sites -- can we compare the different ad networks under identical, real-life conditions.. These results may not be typical.

We can see that ad networks can have a big impact on load time, and the technical aspects that are needed to score well in SEO can be negatively impacted. However, a publisher lives on their revenue and ad networks are needed.

When starting a new campaign or implementing a new advertising partner, be sure to benchmark before and after implementation, and add an annotation to your Google Analytics so that you can compare traffic sources and user behaviour before and after the roll-out.

If you'd like to have your site performance benchmarked, be sure to pick up a  WordPress Speed Report from Performance Foundry or switch to our Managed WordPress Hosting to get a speed report included for free.

    • Related Articles

    • How to add an Adsense Ad to my blog

      There are many different ways to add advertising code to your website. Often, your ad network will supply a plugin to install, which deals with this for you.  If you have to add code manually, email our support team (support@performancefoundry.com) ...
    • How can I monitor my site speed and uptime?

      There are several great options for monitoring site speed and uptime. Which you choose will depend on what you need to monitor. This article aims to help customers with Performance Foundry's Managed WordPress Hosting answer those questions in a way ...
    • What cookies is my site dropping?

      A cookie is a small file that holds a small amount of data about a specific user, and is stored on that user's computer. For example, if you're making a purchase and enter your contact details, that information will be stored in a cookie while you're ...
    • What's included in my hour of development time?

      One of the major things that makes Performance Foundry different from other Managed WordPress hosts is that development time for small fixes and changes is included in your package. How much time do I get? Firstly, question-based support is ...
    • What should I do with 404s on my site?

      What are 404s? 404s are the technical term for "missing content" on your site. Basically, there's a wrong address somewhere, or someone's trying to access information you have deleted or never published. They are very low-priority items, but fixing ...