Customisable cache and config dirs.