[Feature Request]: Persistent IP Country Cache Across Traefik Restarts
I might be mistaken, but I don’t see where the plugin caches IP country data. Since I restart Traefik daily as part of a backup process, it seems like the plugin rebuilds the cache from scratch each time.
If that’s the case, it might impact performance or response time right after a restart.
I think it would be very useful of having a local DB - not just a cache. Something like the maxmind IP database which works very well with pfblockerng.
I am currently working on in: #99
Do you think in that case, that it would just be easier to use the maxmind IP db which could be downloaded to the machine, so no outbound requests are required at all in order to get IP geoloc?
EDIT: Why I'm rambling on about this - because every time an IP requests a resource, and the IP is not cached, the presence of said IP would be leaked to an external service (geoJS) - instead of just having the plugin look up the geo location from a local db.