Hello!
I have a very unique use case of an app I'm building, and part of it requires galleries, a LOT of them. There are 40 galleries total, all of them in are within containers inside of another container that holds them all. Not sure if that's relevant at all, but the structure is:
- Container0
- Container1
- Header label
- Section label
- Table gallery
- Form gallery
- Container2
- Header label
- Section label
- Table gallery
- Form gallery
And this repeats for 20 containers total, so that's 40 galleries total
I have the PDF function then pointing to Container0 to capture that big container filled with all the other 20 containers,
but the problem is this is VERY slow. It takes up to 2 minutes sometimes for the pdf to generate everything, and even without the PDF function, that screen is just very laggy when editing and to a lesser extent when running. It's crashed my chrome browser a few times with a "not enough memory" error even.
The data that is filling the galleries are all coming from collections that are loaded prior, so I thought that would make it quicker instead of reaching out to each SharePoint list directly.
Does anyone have any ideas as to how to make this any faster/more efficient?
Thank you!