Cache downloaded dependencies.