I'm working on a photoswipe gallery for my portfolio site, built using Hugo. The code isn't the cleanest, but it's a huge upgrade from my current build using HarpJS. I've also learned a lot about AWS and GCP in the process.
Everything works on desktop, and until yesterday, everything worked on mobile.
I ran Primitive on all the thumbnails, and output SVG's with 2500 shapes. Which is probably major overkill, but I love the visual effect from that level of detail. It becomes very painterly.
Now the page crashes constantly in Mobile Safari, which stupidly closes out the mobile web inspector on my Mac - so I'm not sure where the breakdown is occurring.
Each SVG is around ~150kb. When I swap the SVG's and use JPG's again, everything works fine, even though that makes the page size larger. I have a suspicion that my lazy-loading plugin isn't working, but I'm not certain. (I'm using Unveil - luis-almeida.github.io/unveil.)
Here's a link to the gallery page on my staging bucket: staging.iammatthias.com
Any help/advice would be much appreciated!