Support local storage to cache the message.