Yes I’ve been struggling with this issue for weeks, trying to improve load times with Pro Gallery. I am working specifically with images.
I’ve tested extensively with using SSR doing query promises, then onReady loading the images the Pro Gallery using promises. And I’ve noticed… one thing that affects load times regardless of whatever I do… it has to do with the number of image elements in total being loaded up then rendered into the Pro Gallery. The fewer the elements the faster it goes.
I’m using this page for my testing since most of my users are coming from mobile, and I’m testing using an older iPhone6 and also an iPhoneX. https://www.kennethwinston.com/test3
The most significant improvement I’ve found is when I switched over to using a dataset, and limiting how many elements actually show up upon load, for Desktop, I set it to 12 items. Then when the user starts scrolling, I use a onViewPortLeave handler to loadMore()
By the time (seconds after) initial load, and the user loads, the rest of the images have already loaded/rendered and simply show up “faster” to the user.
My next tests will be to do what you suggested, to have a specifically sized super optimized tiny thumbnail image to load into Pro Gallery… then upon click it will lead to a product page with the larger res images in a Masonry Pro Gallery.
It seems with using a dataset vs manually doing the queries/promises is very similar in actual load time for the user experience.
Also, Pro Gallery seems to behave/load a littler differently on Mobile, and also the Expand Mode is more conducive for Mobile browsing than on Desktop (i.e., expand mode on Desktop is a little useless for my use case). The work around I’ve used here is to literally have two pro galleries with two different link behaviors. Desktop opens a link, Mobile opens up in Expand.
The fastest loading galleries I’ve used NON-Pro Gallery have been the normal none-pro Grid galleries. The issue with those is that if you use the “stretch to width” feature on desktop, the height of each thumbnail image stays static, meaning on higher resolution monitors it will look super “thin”. The non-pro masonry gallery sorta gets around this but is listed in design control.
Yea I’ll keep sharing “loading optimization” solutions as I discover them. I’ll post back when I get all my thumbnails created and connected with some load time numbers to compare.