Caching values for variants