Preloading of files

Have more questions? Submit a request

You can use the following snippets to preload some of the assets of the cookie banner to make loading faster.

Here below some of the preconnect and prefetch.

<link rel="preconnect" href="//consent.cookiefirst.com" />
<link rel="dns-prefetch" href="//edge.cookiefirst.com" />
<link rel="dns-prefetch" href="//api.cookiefirst.com" />

Here are some preload requests to be added to your sites:

1. If you do not use any of the Autoblock functions you can use this

 <link rel="preload" href="//consent.cookiefirst.com/banner.no-autoblock.js" as="script" />

2. if you use autoblock use the following:

 <link rel="preload" href="//consent.cookiefirst.com/banner.js" as="script" />

3. You can also preload the consent.js script which is your embed code. That can be found in the left menu on your domain settings page.

CleanShot 2023-10-09 at 09.09.55@2x.png

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share