add cache to client