Jump to content

GeoLocation cache cleaned up every 12 hours?


LaCollision

Recommended Posts

Posted

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! 🙂 

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...