Lightest IP geolocation technology for static site?

General Tech Technology & Software 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

I run a site that is behind a Squid reverse proxy which delivers most of the content cached (including html, not only images, etc.). I need to show a different content for our users located in the US. In order to do that, what solutions do we have?

I thought about using some geo dns service like edgedirector.com and move the American users to a different IP but I have serious doubts about geo DNS solutions. I understand that the edgedirector can only know the location of the ISP's DNS server (or OpenDNS, Google Public DNS, etc.) used by the client but not the client's location. I do not really understand how can they know the IP of the client, teorically the client do not need to query directly edgedirector.

Another solution I thought was using javascript and MaxMind GeoIP Javascript Web Service or Google API client location but that would be too slow.

I also thought about using some reverse proxy like Squid, Varnish, Ngninx, etc. which works directly with Maxmind software (or other software) without the need to go to the backend (like for example a cached copy for each country). Do not know if that is possible with Squid or with some other reverse proxy

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

tuteehub community

Join Our Community Today

Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.

tuteehub community