Cache management in config file