MDL-41483: Replace format_text database cache with application cache