DEV Community


Theory of joining several images in 1 for performance over the network

tavoli profile image Gustavo Lima ・1 min read

I've been thinking about a site that makes several requests on the network to search for images. do you think that if you fused these multiple images into just 1 it would be faster? The goal is to go through the network just once to get all the images.


Editor guide
shadowtime2000 profile image

I guess it would work, but you would have to specifically splice parts of an image client side and take their base64 and then set an <image /> tags src to that.