Mimic DefaultParameterHandler logic when calculating the CacheKey