Cache string instead of array