• Resolved Kevin-In-Cornwall

    (@kevin-in-cornwall)


    Thanks for a very, very good plugin….it looks extremely professional and, unlike most, can be made GDPR compliant.

    My only concern is the possibly negative affect on page loading time . When I use tools like GTMetrix and Pindgom there is a fairly significant increase in page loading time AFTER installing the plugin.

    However, are the results from GTMetrix & Pingdom mis-leading ? The reason I ask is because testing with these tools possibly does not accurately reflect real use behaviour when visiting a website.

    A real user, in most cases, will only exposed to the cookiebot pop-up on the first page they visit…on all subsequent page views during that session the cookie pop-up will probably not be triggered. However, when using tools like GTMetrix & Pingdom the cookie pop-up is triggered on EVERY page visit.

    Therefore, am I correct that the increase in page loading times shown by the above tools is only applicable to the first page visited ? And if I wanted to more accurately measure page speed for subsequent pages visited then I’d need to tick the `Hide cookie pop-up’ checkbox ?

    Effectively, what I am asking is it purely the triggering of the cookie pop up that is increasing page load time ?

    Many thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author cookiebot

    (@cookiebot)

    Hi @kevin-in-cornwall

    Thanks for reaching out, and for the compliment.

    Cookiebot (uc.js) is only retrieved the first time that the website is loaded. To increase performance the script is cached in the users browser for 24 hours.

    I have just tested on https://cookiebotdemo.azurewebsites.net/, and on my computer, it took 66ms to retrieve the script when loading the page for the first time. Subsequent loads were even faster, as it was retrieved from disk or memory cache.

    Cookiebot is inserted to a website asynchronously which means that it does not slow down the site while it loads. It’s being used by major websites with > 100K daily users. We have not had any complaints so far.

    Notice the async part in the code:

    <script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="7b061d13-0dd4-4b83-99fb-f25642ad8140" data-culture="IT" type="text/javascript" async></script>

    • This reply was modified 6 years, 8 months ago by cookiebot.

    Thanks so much for your prompt & detailed reply.

    Just to give you a few examples, I ran 4 tests to measure load time for uc.js for your demo site & my website on 4 different locations on GTMetrix. (By the way, I’m located in England )

    kernowdirectmarketing.co.uk Canada 470ms
    cookiebotdemo.azurewebsites.net Canada 465ms
    kernowdirectmarketing.co.uk London 64ms
    cookiebotdemo.azurewebsites.net London 67ms
    kernowdirectmarketing.co.uk Dallas 528ms
    cookiebotdemo.azurewebsites.net Dallas 628ms
    kernowdirectmarketing.co.uk Sydney 984ms
    cookiebotdemo.azurewebsites.net Sydney 960ms

    And here are a few more results, just for my website, from Webpagetest for servers located a little closer to me

    Dublin First view 361ms
    Dublin Second view 187ms
    Dublin Third view 209ms

    Maidenhead (england) First view 292ms
    Maidenhead (england) Second view 206ms
    Maidenhead (england) Third view 344ms

    London First view 263ms
    London Second view 222ms
    London Third view 180ms

    So whilst I was able to almost exactly replicate your stated load time by using the GT Metrix server located in London, the load times elsewhere are significantly longer.

    Would you consider the load times indicated by GTMetrix & Webpagetest for uc.js to be inaccurate ?

    Many thanks

    Plugin Author cookiebot

    (@cookiebot)

    Hi @budpierce

    Would you consider the load times indicated by GTMetrix & Webpagetest for uc.js to be inaccurate ?

    No, they are probably correct for those servers. We will extend with a CDN in the US, and one in Asia, once we reach a more critical mass of users.

    Thanks for your input!

    Plugin Author cookiebot

    (@cookiebot)

    @kevin-in-cornwall @budpierce

    We’ve just set up a CDN in the US. Care to test if loading speeds have improved?

    • This reply was modified 6 years, 8 months ago by cookiebot.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Increase in Page Loading Times’ is closed to new replies.