Communication library with cache