0

In normal web applications, it is good practice to package multiple images in sprites such as to diminish the number of HTTP requests, and therefore minimize loading time...

My question is: does this benefit still exist in WebSocket based applications?

Since a WebSocket application does not technically make HTTP requests, will there be a performance increase when using sprites in this case too?

Note: I know that sprites have other advantages such as a better user experience when switching a button from idle/hover, but I'm here talking only about load time.

ProgressiveMonkey
  • 315
  • 1
  • 4
  • 11

1 Answers1

0

Alright, so my question was motivated by a surprisingly low overhead when using individual frames vs. sprites on a Meteor application. Turns out, this is due not to WebSocket but to HTTP/2. Some resources which answer it:

Community
  • 1
  • 1
ProgressiveMonkey
  • 315
  • 1
  • 4
  • 11