I created a website, with a lot of photos (around 300) – around 290 photos are with lightgalleryjs for a modal carousel and added loading=”lazy” for each.
When I view the website in the HTML via open live server it’s fine and loads fast but when I uploaded it to GitHub pages it takes like 10-15 seconds to load the page and the images.
1