Search code examples
wordpressgtmetrix

GTMetrix: “Serve resources from a consistent URL”


We're getting poor performance scores on GTMetrix. It states that our images need to Serve resources from a consistent URL.

On the test results, it spits out what looks like the direct URL to an image used on the page and the same image with a ?____ query string at the end.

When I view the page source, I do not see this duplicate that GTMetrix says is being called -- thus the low-performance scores.

Some plugins we're using for reference:

  • Custom built underscores.me WP theme
  • Jetpack (not using CDN)
  • WP Super Cache
  • Autoptimize
  • Smush (image optimization)

URL: [edited]

Report URL: [edited]

I've tried disabling plugins one at a time and could not find the culprit, I've also built many other sites using the same methods and have not ran into this error before.

Any idea what's going on here?


Solution

  • It looks like the plugin you are using for your slideshow is adding a query string to the images when it initialises, then your browser is treating those as different images and re-downloading them.

    I have attached a waterfall view of your image request, and you can clearly see the initial images downloaded then, re-downloaded with a query string. And the initiator combo-js.

    waterfall view