• Resolved Dan14

    (@dan14)


    I noticed he js file is being served directly from cookiebot. Would it be possible for you to make it possible to be served from a a cdn or it must be from you? I am asking this because I believe it might help my page loading speed.

    Thanks.

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

    (@cookiebot)

    Hi @dan14,

    The script is served from https://consent.cookiebot.com/ and is loaded asynchronously, which means that it does not affect your page loading speed.

    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.

    Plugin Author cookiebot

    (@cookiebot)

    We have just setup a CDN in the US. Our main servers are in Ireland. You don’t have to do anything, if you have US users.

    Thread Starter Dan14

    (@dan14)

    Thank you for your reply.

    Having a CDN in the US is great but about Asia and Australia? Im showing the cookie consent to all users. The loading time from Australia is over 1 second for that JS file. If I could load it from my CDN that would be better or if you can please increase your cdn regions that would also work.

    Another issue Im starting to notice is that the cookie consent banner is shown randomly even after its been accepted. It began after you issued the fix for wp rocket, which im not using.

    Plugin Author cookiebot

    (@cookiebot)

    @dan14

    Having a CDN in the US is great but about Asia and Australia? Im showing the cookie consent to all users. The loading time from Australia is over 1 second for that JS file. If I could load it from my CDN that would be better or if you can please increase your cdn regions that would also work.

    When you update your configuration in our Manager (change your banner settings etc), your configuration is stored on our server. Even if you could host uc.js yourself, this would be even slower, because it would try to get your configuration from our server, thus making one more round-trip.

    We will extend with CDN in Asia once we reach a more critical mass of users from there. This could be in the near future, as Japan and other countries are tightening their privacy laws as well.

    Another issue Im starting to notice is that the cookie consent banner is shown randomly even after its been accepted. It began after you issued the fix for wp rocket, which im not using.

    The WP Rocket fix and the banner are not related at all. The only time the banner should pop up is if your cache is cleared, or if the “renew” function is executed. We have not recieved any complaints about the banner randomly popping up, but will be watching this closely.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Serving cookiebot js from cdn’ is closed to new replies.