'Queries our request cache for multiple entries.
:param list params: keys to be queried
:param str namespace: namespace in which to check for the keys
:returns: **dict** of \'param => cached value\' pairs of keys present in cache'

def _get_cache_map(self, params, namespace=None):

    with self._cache_lock:
        cached_values = {}
        if self.is_caching_enabled():
            for param in params:
                if namespace:
                    cache_key = ('%s.%s' % (namespace, param))
                else:
                    cache_key = param
                if (cache_key in self._request_cache):
                    cached_values[param] = self._request_cache[cache_key]
        return cached_values
