Layout cached supports caching the whole layout, but there are options for for fine grained caching too. Minikin, FemtoVG, andCosmicText all support per word shaping cache. Calculating text properties could be cached too.