Cache dependencies