implmented bitchat_message_cache