• Resolved khargool

    (@khargool)


    Hi,

    I am trying to optimize my website in terms of speed and of course it tells me to leverage browser cache regarding Google scripts. I was wondering if maybe it is possible to use solution like CAOS plugin (https://www.ads-software.com/plugins/host-analyticsjs-local/) to host Google scripts locally ? Since tag manager is implemented via your plugin I guess it would have to be done within your plugin. So is it possible ?

    Regards

    Marcin

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    Many site speed tools complain about external scripts like the GA script, the GTM container code or a Facebook pixel, etc.

    I would say if there are no other issues, no big images, no cacheable on site elements, every cache header is set and everything is fine, then those external tracking scripts should not harm your website results in any way even if those speed testing tools show you suggestions.

    I have a very stable opinion here: I do not see any reason for storing the GTM container and/or the GA script locally. (as far as I know if you serve GA through GTM then you can not load analytics.js from a local URL)

    If I would store your GTM container JS locally, that would give you other bigger issues since GTM preview wouldn’t work and publishing a new GTM container would include a latency before it gets loaded into your site.

    I honestly think that managing those external scripts should be the very last point on your list of opportunities.

    Thread Starter khargool

    (@khargool)

    Hi Thomas,

    Thanks for your reply (very thorough ?? ) and I totally agree that at least my site has bigger issues. I was just wandering if it would make any difference, but now I am aware that it wouldn’t. Thanks again, for you reply.

    Regards

    Marcin

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Leverage browser cache’ is closed to new replies.