Currently, we aren't caching dependency calculation. It should be cached, perhaps with a relatively short (1 day?) timeout.