Kit forms load JavaScript that bypass optimizations and affect PageSpeed scores
-
When you have Kit forms on a page, it will load about 750KB of JavaScript. They also bypass Delay/Defer JavaScript optimizations with WP Rocket or Perfmatters. This causes very bad PageSpeed scores and core web vital metrics. Please provide a solution to this.
<script async data-uid="xxxx" src="https://xxxx.kit.com/xxxx/index.js" data-jetpack-boost="ignore" data-no-defer="1" nowprocket></script>eg: For two forms, Kit creates following JsvsScript requests.
https://xxx.kit.com/xxxx/index.js
https://yyyy.kit.com/yyyy/index.js
https://f.convertkit.com/ckjs/ck.5.js
https://f.convertkit.com/ckjs/ck.6.js
https://www.google.com/recaptcha/api.js
https://www.gstatic.com/recaptcha/releases/gTpTIWhbKpxADzTzkcabhXN4/recaptcha__en.js
https://www.gstatic.com/recaptcha/releases/gTpTIWhbKpxADzTzkcabhXN4/recaptcha__en.js
https://www.google.com/recaptcha/api2/webworker.jsKit also loads a large CSS file.
https://www.gstatic.com/recaptcha/releases/gTpTIWhbKpxADzTzkcabhXN4/styles__ltr.cssKit causes following issues.
Reduce JavaScript execution time 2.1 s
Minimize main-thread work 2.8 s
Reduce unused JavaScript Est savings of 316 KiB
Reduce unused CSS Est savings of 64 KiB
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.