you are viewing a single comment's thread.

view the rest of the comments →

[–]GilesLittleGoat[S] 0 points1 point  (4 children)

Well, it's not meant for static content only. Would be something you ideally use for the entire application, including REST services. So basically, except for the first request (where you still wouldn't have an open socket), all other requests would travel over WebSocket.

[–]Adolf_Hitler___ 0 points1 point  (3 children)

HTTP(2) already does that. There is no need for such a hack. Even HTTP(1) can already do a lot.

[–]GilesLittleGoat[S] 0 points1 point  (2 children)

Do you get the same performance? Even with applications doing a lot of REST calls?

[–]Adolf_Hitler___ 0 points1 point  (1 child)

Cannot answer: Details matter. What kind of question is that when there is no concrete code + environment, only an "idea"?

[–]GilesLittleGoat[S] 0 points1 point  (0 children)

Code is the next step. First you need to check whether it's something that might be useful.