Adding caching functionality in Proxy