xmpp and cache