Enables caching for libraries.

- Resolves #824.

This is a start, however, I am inclined at this point to simply enable caching at the very beginning of the process, rather than the current attempt to enable and disable as the process progresses.