To enable the entry cache, use the dsconfig tool.
$ bin/dsconfig set-entry-cache-prop --cache-name "Static Group Entry Cache" \
--set enabled:true