Implementation of a cache key customizer mecanism.