Comments

2 comments

  • Hi Valentin,

    Both of the above described problems are of the same nature because they are both related to the browser's cache and page loading resources.
    Basically, expires headers let the browser know whether to serve a cached version of the page and in this way it reduce server load and decrease page loading time. Thinking of that the expires headers tell the browser whether they should request a specific file from the server or whether they should grab it from the browser's cache. 
    However, you receive this "problem" in GTmetrix because the performance test simulates first visit of the website and therefore there is no cache and all Cookiebot files are requested from the server. Usually the Cookiebot consent expire after 1 year, so after giving a consent for the first time, Cookiebot files would be cached and the you would not receive this server loading issues.

    As I said in the beginning leverage browser caching has the same nature. By using browser's cache the page load times can be significantly improved by asking visitors to save and reuse the files included in your website, which will reduces page load times for repeat visitors. So, this is the same scenario, as the above one. Cookiesbot scripts would be loaded from the server the first time you have visited the page and ask you for giving a consent, while every other time Cookiebot scripts would not be loaded from the server because you have already give a consent. 
    The above described scripts (Cookiebot resources) could not be cached from the browser without user permission, the scripts could be cached after giving a consent. But the use of Cookiebot does not negatively affect your website's ranking and the indexing of its content or the website's performance.

    Regards,
    Spas


    0
    Comment actions Permalink
  • Avatar
    Valentin Kragelj

    Spas, thank you very much for clean explanation.

    0
    Comment actions Permalink

Please sign in to leave a comment.