Cache utility that uses method arguments as the key