HAProxy Enterprise Documentation 2.5r1

maxmind-update cache enable

Enable the MaxMind LRU 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.


Below, we enable the cache:

$ echo "maxmind-update cache enable" | \
   sudo socat stdio unix-connect:/var/run/hapee-2.5/hapee-lb.sock
MaxMindDb: cache enabled

See also

Next up

maxmind-update cache invalidate