Disable calls to certain domains only for users from certain countries
-
Essentially, a way of determining a user’s location (based on IP or GPS?) and then disabling specific external API calls for that user. So, for example, users from China won’t need to experience slow load times waiting for requests to Analytics, Gravatar, WP.com, Facebook, etc, to return a timeout, if those services are not accessible from within the country.
Any plugin, or plugin combinations, code snippets, configurations, or just any insight into how something like that could be achieved would be helpful and much appreciated. Tried looking around the forums and the greater webs for this particular need, but no luck so far, so I thought best to reach out directly to the community and see if anyone has handled something like this before.
- The topic ‘Disable calls to certain domains only for users from certain countries’ is closed to new replies.