Implemented caching for mod_mam_muc.