WSSQL-42 Consider target cluster when caching

Signed-off-by: rpastrana <rodrigo.pastrana@lexisnexis.com>