Enabled taskhandlers getCacheKey to take params as input