Only push directory cache if enabled