added more debug log, cache config in the config file, duration computing can be disabled