support CACHEOPS_PREFIX and better way of generating cache key