News for hackers. Stuff that matters.
Re:Show HN: Free and easy geoip API thanks to Cloudflare and... by contingencies on Friday October 07, 2016 @01:01AM (#12658309)
To me, the whole idea of this API is an anti-pattern: embedding Javascript in a website to make an entirely new GeoIP lookup from a third party host is wasteful and unreliable.

If you want GeoIP details in served JS, the details should be served from an existing host on the initial page load where you can centrally manage availability/maintenance/etc.

If you are doing nodeJS or something server side, then it would be quicker to call out to established command line tools and cut out an entire internet round trip.

Re:Show HN: Free and easy geoip API thanks to Cloudflare and... by jasonlingx on Saturday October 08, 2016 @10:27AM (#12667039)
Could you elaborate what you mean by "If you want GeoIP details in served JS, the details should be served from an existing host on the initial page load where you can centrally manage availability/maintenance/etc."?