HAProxy Enterprise Documentation 2.8r1

maxmind-update cache invalidate

Invalidate the MaxMind lookup cache.


If the MaxMind cache is enabled, each lookup is cached so that subsequent requests are loaded from the cache instead of the MaxMind database. Invalidating the cache marks all entries in the cache invalid. After invalidating the cache, the MaxMind module will perform lookups in its database as it rebuilds its cache for subsequent requests.


Below, we invalidate the cache:

$ echo "maxmind-update cache invalidate" | \
   sudo socat stdio unix-connect:/var/run/hapee-2.8/hapee-lb.sock
MaxMindDb: LRU cache invalidated

See also

Next up

maxmind-update disable