enabled taskhandlers getCacheKey to take params as input