cache deps calculate