refactored Installer.create_cache()