You are developing an application that uses many small images for various aspects of the interface.The application responds slowly when additional resources are being accessed.
You need to improve the performance of the application.
What should you do?
A.
Preload all the images when the client connects to ensure that the images are cached.
B.
Combine all the images into a single image and use CSS to create sprites.
C.
Host all images on an alternate server and provide a CDN.
D.
Convert the images to .png file format and stream all images on a single connection.
Same question appeared before with ans b.
B.
Combine all the images into a single image and use CSS to create sprites.
Correct Gowri
I think both are correct, both will improve the performance.
The application (it means server) responds slowly when additional resources are being accessed…
so it means you need to use cdn to let server process less requests!