2m Lag in Item Edit/Create associated with SideLoad Module

I can’t say whether this is an issue with the sideload module or with Omeka-S core 4.04. I’m cross posting this as an issue on the github site for the side-load module. .

I noticed very long (2 minute) lag times in loadng the forms for Create Item or Edit Item. Long story short, Disabling the Sideload module (1.7.1) caused the lag to completely go away.

The reason that this emerged for me may be the following:

My sideload folder has nearly 30,000 files in it. My theory is that for some reason, the code for the forms in question is trying to do something with all of these files.

Thanks