Move reset cache functionality into configuration file.