cache attributed string