I am currently a firebase client and am facing this rather poor performance problem in firebase: Firebase boot performance , where the initial handshake with websocket delays loading the entire application for a second or more.
I am wondering if this problem was resolved? The idea is that you first do the traditional xhr and then swap the websockets when you establish the connection.
What GoInstant does. It starts with an XHR connection, then tries to upgrade to websocket, if available.
Firebase websocket. , , . , - , . XHR- . -, , , , .
, , Firebase , Firebase.INTERNAL.forceLongPolling();
, , ( firebase.com, ), , , , , .
Source: https://habr.com/ru/post/1540295/More articles:How to adjust the title and display the branch template without the renderView () method in the symfony2.X controller - http-headersAccess to 64-bit registry from Haskell - winapiHow to create a Google chart with a width and height of 100%? - javascriptCan I change the default behavior for all pads in a test - c #Will there be a performance difference for CUDA blocks of size 1024x1 versus 32x32? - performanceHTML5 tag does not work in Internet Explorer - internet-explorerChrome flickers on -webkit filter: blur - htmlFirebase download performance - angularjsI have implemented xdomain scripts on both client and server, but in IE9 continue to receive the warning “Waiting to wait in iframe socket” - javascriptMixpanel data export filtered by multiple properties - pythonAll Articles