Image caching issue while navigating

Hi, I have a couple of rails of images with each rail containing 15 images . When I navigate between images or between rails , then the image which gets out of screen reloads or we can say that request for those images are made again when they are brought back to viewport. I need any suggestion to cache my images and when I navigate between images back and forth the images shouldn’t reload again i.e request to those images shouldn’t be made again even if they are brought back to viewport or out of the viewport.


This is probably because your image server is not sending caching headers for the images. The browser should be caching the images and preventing them from reloading.

Also if you have dev tools open - make sure you don’t have disable cache checked.