IIRC the RichText cookedBody is transformed and then cached on Document content objects until the next edit of that document. So if you're able to hook into that cooking mechanism you'd have an elegant and performant solution.
IIRC the RichText cookedBody is transformed and then cached on Document content objects until the next edit of that document. So if you're able to hook into that cooking mechanism you'd have an elegant and performant solution.