Home > Backend Development > PHP Tutorial > javascript - 服务器推SSE如何不阻塞页面

javascript - 服务器推SSE如何不阻塞页面

WBOY
Release: 2016-06-06 20:42:00
Original
1060 people have browsed it

SSE事件可以很方便地检查消息队列的更新。但是页面上其他地方的文件加载、渲染、代码执行会被阻塞。有什么办法解决,比如异步加载什么的,怎么实现?

回复内容:

SSE事件可以很方便地检查消息队列的更新。但是页面上其他地方的文件加载、渲染、代码执行会被阻塞。有什么办法解决,比如异步加载什么的,怎么实现?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template