Supporting cache directory setup.