伺服器發送事件-AJAX和WebSockets的替代方法



了解何時以及如何將伺服器發送事件與NodeJS一起使用。重要的是要知道SSE可以替代AJAX和Websocket,但是僅在正確的用例中應用它們非常重要。

3 comments
  1. The problem is most hosts do not allow them. If you try to implement one in some way a lot of times they will kick you off because they are resource intensive. getting a host that will support them is expensive.

Comments are closed.