Adding caching to my client