cache existing directory