do not attempt to build cache if there is nothing to cache