I'm including the Google Recaptcha on my website in the following way;
In the header section;
<script async src='https://www.google.com/recaptcha/api.js?hl=fr'></script>
And in the body section (I've removed my key for the sake of the example);
<div class="g-recaptcha" data-sitekey="*"></div>
Yet when the page loads, the Google Chrome console shows the following;
Does anyone have an idea of what's going on? Why is seemingly the same 69.0kb file being loaded 3 times?
Answering for anybody who comes across this later.
This is addressed in a GitHub issue here. Recaptcha runs across multiple frames, so it's loaded multiple times since each frame needs access to the script. This is intended behaviour, apparently.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With