Generic caching for any classes - Caching interceptor