page-load-timeload-timepicturegallery

Website loads image with 1-2 second delay. Could I increase the performance somehow?


recently I made a website for my photography. htttp://www.simotamas.com I am a newbie, so its not the best site but it works fine for me, I got only one problem, when a site is loaded on a device for the first time, the gallery loading time takes up to 1-2 seconds.

Could you guys please check if I mess up something with the code? Or should I made the pictures even smaller? Any way I could increase the loading performance.

I would be really thankful for any advice.


Solution

  • Some points you can consider

    1. Use thumbnails for preview (low resolution) , while clicking load actual image.

    2. Load images of only visible part first then load the images in bottom. (May affect user experience)

    3. if you have cpu power , use any libraries like cache tools or compression tools like https://nielse63.github.io/php-image-cache/ . benchmark it carefully.

    4. use gzip if you are not using gzip compression for your server.