The resource show_ads_impl.js was preloaded – What it means and what you can do

Did you see this error in the Chrome developer tools?

The resource https://pagead2.googlesyndication.com/pagead/js/r20190624/r20190131/show_ads_impl.js was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriate ‘as’ value and it is preloaded intentionally.

The resource show_ads_impl.js was preloaded

You would not be the first one, and after a few questions from Advanced Ads users, I thought I might dig into its meaning.

When does the show_ads_impl.js was preloaded warning show up?

The warning only shows in the developer tools in the Chrome browser for websites that are using Google AdSense and when you disabled caching in the Network tab. It doesn’t matter whether you are using their Auto ads feature or manually placed AdSense ads.

Chrome developer tools with caching disabled in the Network tab.
Disabled caching in the Network tab

The error is gone as soon as you disable the Disable cache option.

Does it hurt your AdSense earnings?

This warning only appears if you deliberately disabled caching WHILE opening the developer tools. Since this is not how most of your visitors will open your site, it wouldn’t even matter if it would cause an issue for this user group.

The problem could be a small one related to performance. If a file is loaded and then not used, it might be better not to load it at all. My tests show that this is maybe in the range of 250 ms and a file size of 78.5 kB. Again, this only applies to users with the dev tools in Chrome open.

What are the technical details?

If you take a look at any AdSense code, then you see them loading a JavaScript with the following code.

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>Code language: HTML, XML (xml)

This is obviously not the script show_ads_impl.js mentioned in the warning above. However, this file loads that script, which is using the preload technique. It basically means that AdSense intends to use (parts of) that file and asks the browser to load it for later.

The warning shows up because the file is then not used within 3 seconds after requesting it or technically after the onload event is fired. That seems to be the case with caching disabled in the developer tools.

Preloading was introduced in Chrome 50. The preload value will just be ignored by browsers not supporting it and does not cause any issues. The standard might still change in the future.

Subscribe to our newsletter and get 2 add-ons for free!

* indicates required
Interests

How can you solve this?

There is nothing to solve here. You can disable the Disable cache option in the Network tab, and the issue is gone. The same applies when you browse without opening the developer tools at all.

Thanks to our Google AdSense contacts to help resolve this.

Make it better

Increase your ad management skills without spending more time.
Join over 150,000 publishers and AdOpts increasing their ad revenue.