Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
imJexs Posted July 15, 2018 Posted July 15, 2018 I am working on an application that will be storing a large number of IP addresses from a variety of sources, but I'd like to be able to systematically update the IP's with their current country code. First instinct is to use the \IPS\GeoLocation class, however, I will be making many calls to this API a day and I just want to check the rate limit before I do this. I would prefer to be able to use this, but I could understand if you don't want this receiving an abundance of calls and I can look into an alternative. Thank you.
Ryan Ashbrook Posted July 16, 2018 Posted July 16, 2018 Not currently - the GeoIP data is cached for twelve hours, to the local database. That being said, however, I would definitely investigate alternative methods specifically for performance reasons, depending on the nature of the calls (thousands of calls to the database per hour, for instance, isn't great either).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.