Cache the result of the string format for better performance