Openfire fastpath 聊天导致网站加载缓慢
我们正在向我们的网站添加 openfire fastpath 聊天功能。它将确定并指示实时聊天何时可用,并显示适当的图像来指示当前状态和每个状态的链接。
javascript 调用命中是另一个盒子上的一个函数,该函数使用 document.write 将 html 输出到页面。我知道存在延迟,因为它正在向另一台服务器发出请求并等待返回结果。这里的暂停大约是半秒,但会导致页面加载的其余部分被阻止。
有没有人遇到类似的问题或提供任何提示以某种方式同步加载。我尝试将其放入 aspx ajax 面板中,但这似乎会导致其他问题。
We are adding openfire fastpath chat to our site. It will determine and indicate when live chat is available or not and display an appropriate image to indicate the current status and links for each state.
The javascript call hit's a function that is on another box and this function uses document.write to output the html to the page. I know there is a delay because it is making the request to another server and waiting for a result to be returned. The pause here is about a half second, but causes the rest of the page load to be held up.
Has anyone experience a similar issue or offer any tips for getting this to load synchronously somehow. I tried putting this into an aspx ajax panel, but that seemed to cause other issues.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我使用了 iframe,这是我能找到的唯一可行的方法。
I used an iframe that is the only thing I could find that seemed to work.