Extremely slow
-
Hi
This plugin was causing slowdowns and we debugged it and found:
1) it is requesting a LOT the domain ip-api.com only to verify if the client IP is from EU.
The issue is that it is kind of flooding it and this site seems to rate limit requests, and most of the times it returns “429 Too Many Requests”.
It is requesting it multiple times in the same client request..!
I suggest that you use a local maxmind db (or other product) to verify the IP location.
Or better simply disable that code, it is there only to show a message for EU clients, i don’t think it’s a big deal to show it to everybody.Personally i commented the lines, it’s not worth the hassle.
2) it is requesting a LOT developers.facebook.com in the same functions, why are you doing this POST request to it since the output isn’t used, is it to refresh the comments there? Are you sure it is needed?
It is causing a severe delay in response and flooding facebook servers
- The topic ‘Extremely slow’ is closed to new replies.