Lots of 1’s there! This release comes with 2 performance related fixes.
- When specifying comma-separated resources, MoreGallery would fail to cache the data, making it needlessly slower than expected.
- When using a random sort order, MoreGallery loads all matching images in the pre-cache scenario, to allow randomly picking a couple of them from cache. If you have thousands of images that match a certain filter, that causes it to get thousands of images, which may take a long time (especially when combined with the cache issue) and memory to load. Now you can specify the &randomLimit property to determine the maximum sample size for random images to load, which defaults to 1500.