Closed Rueff19 closed 6 years ago
It looks like the widget itself re-uses the recaptcha__en.js
file. In the network tab you should see different initiators for those requests.
what is the resolution for this issue ?
@sandeepsingh3 Apparently there isn't one.... I waited for so long for a response that I moved on. After a month or two @rowan-m responded. He just stated what I already knew(that is the recaptcha widget that re-uses the file) and closed the issue.
I still get this issue.
Still getting the issue. Loading same files 3 times, and each is 250KB unzipped, which is quite a lot!
This issue may be resolved in https://github.com/google/recaptcha/issues/331.
@Malvoz No, this issue has not resolved yet. On one hand google pagespeed complains of reducing number of request and here recaptcha is unnecessarily adding an extra request for same file.
One request is being initiated by https://www.google.com/recaptcha/api.js
and another by https://www.google.com/recaptcha/api2/anchor
If anyone finds any workaround to this mess then please post here.
this Issue still bothers us and add significant 'drag' to our load time
same issue
Same here. Very heavy issue, I'll probably get rid of recaptcha for the time being.
More than two years have passed and still no solution. What a disappointment this is turning out to be.
Any updates to this? Might be good to get some insights if this would be fixed sometime soon or in the distant future
@alonseg
this Issue still bothers us and add significant 'drag' to our load time
use explicit render method to avoid loading recaptcha during page load.
@alonseg
this Issue still bothers us and add significant 'drag' to our load time
use explicit render method to avoid loading recaptcha during page load.
@jazkh have you treid that? with explicit render the issue is exactly the same. the file (exact content) is downloaded 3 times. I really don't understand this behavior from Google and their #perfmatters campaign. very disapointed here!
I'm facing this issue. Any news?
Google imposes how to do things, but even they don't comply. In my village, this is called politics.
any news?
+1 :(
use another method, google says its not their problem
Why was this issue closed?
Google really seem to care about performance of our websites.
We also have this issue. What can we do?
Have the same issue. It has a significant negative impact on performance of our sites. I guess we’ll have to look for alternative solutions. This is not worth it.
c'mon! 50% of website performance is ruined by a script of the best company? Fix that s**t please!
https://www.gstatic.com/recaptcha/releases/0hCdE87LyjzAkFO5Ff-v7Hj1/recaptcha__en.js
loads 4 times in my case, the multiple script loads weights 4 times all my website images!!!
any updates on this issue
Still having this issue, loaded 3 times:
One crazy way to fix this -> Use service worker -> intercept if recaptcha_en.js -> cache it.
Next request -> serve from the cache.
Since I am sure the request is well versioned, it wouldnt be hard to bust the cache.
Hi there,
I was having this problem with one of my projects and to try to figure out what was wrong I decided to run the example code from recaptcha docs.
Even with this example code the page is still requesting the file multiple times.
Here is a jsFiddle with the example code: https://jsfiddle.net/7h7rnqbn/
Just open the network tab and see the file requests.