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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:42:00
Original
1224 people have browsed it

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

回复内容:

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

Related labels:
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
Latest Issues
What are JavaScript hook functions?
From 1970-01-01 08:00:00
0
0
0
What is JavaScript garbage collection?
From 1970-01-01 08:00:00
0
0
0
c++ calls javascript
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template