Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Take A QuizChallenge yourself and boost your learning! Start the quiz now to earn credits.
Take A QuizUnlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
Take A QuizKindly log in to use this feature. We’ll take you to the login page automatically.
LoginGeneral Tech Technology & Software 3 years ago
User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.
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.
Kindly log in to use this feature. We’ll take you to the login page automatically.
LoginReady to take your education and career to the next level? Register today and join our growing community of learners and professionals.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
manpreet
Best Answer
3 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