I have configured the Archiving plugin with a MySQL setup and everything seems to be working fine. However, there is a delay of about 10 seconds between a message being sent and it actually archiving to the ofMessageArchive table. I imagine this is due to some sort of cache. I am wondering, though, if there is any way to eliminate that delay? I do not see it in any of the archiving setup options.
I am creating a chat library spawned from JsJaC and have been trying to get a “history” of one-on-one chat working so that it can be reloaded between page refreshes. Cookies can’t store enough information and saving the information through something like an AJAX call doesn’t scale well. If there is an alternate way to do this (aside from the Archiving plugin and querying ofMessageArchive on page load) please let me know.