Cache value for optimal performance