One use case for caching is to reuse compiled dependencies for binaries installed in different locations. Currently, the library caching only works if the prefix did not change.