Busts Delay JS
-
Kills LCP core web vitals due to breaking through delay js, not good.
-
Hey @thanewest ! 😊
Have you previously contacted us via support? I cannot find any ticket about this in our support forum and support desk. Our goal is to support our customers and resolve any issues that may arise, and we would be happy to help you if you contact us directly.
To the problem: Have you activated the animations in Customizer > Cookie Banner > Basic Layout or can yuo please share a screenshot of your configured animation settings?
Are you using the PRO or free version of the plugin?
Hello @mguenter
The animations are turned off, but that shouldn’t effect the issue at hand. I did look through the forum at other user’s complaints of similar issue and saw unsatisfactory replies – no point in making more threads on the same subject when no resolution is available.
The issue is RCB is busting through Delay JS. Perfmatters is set to delay all scripts, but RCB is busting through and running itself, which generates a significant script load (enough to fail LCP when RCB is enabled, while LCP passes with perfect scores with RCB disabled).
Hi again @thanewest !
The animations are turned off, but that shouldn’t effect the issue at hand
The animation has indeed an effect on the e.g. Google PageSpeed Insights and how the LCP is calculated. When a container is animated into the viewport, this is not counted as LCP.
The issue is RCB is busting through Delay JS. Perfmatters is set to delay all scripts, but RCB is busting through and running itself, which generates a significant script load
The scripts of the cookie banner must be executed before all other JavaScript files. This is a technical requirement in order to be able to block requests to external URLs, for example, or to overwrite functions that set cookies. We work together with several caching plugins to provide a smooth integration (you can find a list here https://plugins.trac.ww.wp.xz.cn/browser/real-cookie-banner/tags/5.0.3/vendor/devowl-wp/cache-invalidate/src/caches). We use the following technical interface for Perfmatters: https://plugins.trac.ww.wp.xz.cn/browser/real-cookie-banner/tags/5.0.3/vendor/devowl-wp/cache-invalidate/src/caches/PerfmattersCacheImpl.php#L37
Only through such an integration can it be technically ensured that content to be blocked is actually blocked. The problem with LCP can be solved by activating the animation.
The topic ‘Busts Delay JS’ is closed to new replies.