cache dependencies