• Resolved cocobongo

    (@cocobongo)


    I’m getting the error described in the title at gtmetrix. Details below:

    The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 28.3KiB.

        https://somedomain.com/wp-content/plugins/host-analyticsjs-local/cache/local-ga.js
        https://www.google-analytics.com/analytics.js

    I don’t know if this is expected or if am I doing something wrong. Just in case, I took off the original code from the page, and when viewing the source I see only your code, so not sure what this message is about

Viewing 1 replies (of 1 total)
  • Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    My plugin does not insert anything from external sources, including google-analytics.com. So you must have added the snippet to your theme’s header.php or installed a plugin adding the Analytics.js.

    This can’t be caused by my plugin, and you can have your proof by disabling my plugin. It’ll still load the analytics.js from google-analytics.com.

Viewing 1 replies (of 1 total)
  • The topic ‘Serve resources from a consistent URL’ is closed to new replies.