populate default
catch ENOMEM
handle %c %u expansion as for be-mysql
remove superfluous if
cacheseconds == 0 disables cache
_log messages
free cache on "exit"