Making this functionality more general will make it easier to add other artifacts to the set that we cache separately.