Caching library