Find us at BrightonSEO 25/26 April - STAND 18! Fill your swag bag!

Dealing with Page Speed issues?

Crawl your website with Sitebulb for 300+ tech SEO checks

Try for Free

This Hint has been deprecated, and we no longer consider it best practice. In order to get the most accurate audit results from Sitebulb, please ensure you update to the latest version.

Medium This Hint is worth investigating further, and may warrant further attention depending on the type and quantity of URLs affected. Issue This Hint represents an error or problem that needs to be fixed.

Duplicate Javascript files

This means that the URL in question is a JavaScript file URL that has technical duplicates - the URLs are the same other than a query string, and the file size and body content are identical. 

Why is this important?

This typically comes from developers adding version numbers or timestamps to page resources, and can be problematic as you lose the ability to cache the resources across multiple pages. In reality, if this only affects a handful of URLs this is not a big issue, but if it affects thousands of URLs then it is a much bigger problem.

What does the Hint check?

This Hint will trigger for any internal or external JavaScript file URL that has at least one duplicate URL found during the crawl.

Examples that trigger this Hint:

CSS file URLs that are identical, save for the query string:

  • <script src="/main/js/modernizr.custom.js?v=123" type="text/javascript"></script>
  • <script src="/main/js/modernizr.custom.js?v=1234" type="text/javascript"></script>

How do you resolve this issue?

This sort of issue is really only damaging if it is very widespread, so it is important to understand the scale of the problem. If the issue affects thousands of files, you will need to investigate the root cause of the problem. This issue typically occurs because developers add new version numbers to updated resource URLs, in order to force browsers to fetch the new URL rather than using a previously cached version. However, the pages/templates *should* be updated to only include the latest, up-to-date resource URL.

If these outdated URLs are still being referenced on lots of URLs on the site, you will need to work through the pages/templates/scripts to ensure that they are updated to the latest version, and perhaps consider running a script to help with version control.

Sitebulb Desktop

Find, fix and communicate technical issues with easy visuals, in-depth insights, & prioritized recommendations across 300+ SEO issues.

  • Ideal for SEO professionals, consultants & marketing agencies.

Sitebulb Cloud

Get all the capability of Sitebulb Desktop, accessible via your web browser. Crawl at scale without project, crawl credit, or machine limits.

  • Perfect for collaboration, remote teams & extreme scale.