Add support for caching message resources