Jump to content



GeoLocation cache cleaned up every 12 hours?

Recommended Posts

Hi Invision,

As far as I understand the Suite, I can see the geoip_cache is cleaned up every 12 hours:

\IPS\Db::i()->delete( 'core_geoip_cache', array( 'date < ?', \IPS\DateTime::create()->sub( new \DateInterval( 'PT12H' ) )->getTimestamp() ) );


Isn't it a bit too aggressive?

Could it be maybe 1 week or 1 month, to avoid too many calls to the Invision servers? Especially on a community with hundreds of thousands members?

I don't know how often the IP addresses locations are changed in the World, but 12 hours seems really short to me?

Reducing the cache updates frequency would reduce the server load on both our servers and your Invision servers…

Thanks for your feedback! 🙂 


Edited by LaCollision

Share this post

Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy