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

I’m bumping this issue addng a specific request;

Can anyone advise me on how to modify the sideload module to prevent whatever is being triggered by the Item Edit or Item Create functions? As noted in the original post, havng the side-load module loaded with lots of files in the sideload directory seems to cause a two-minute delay in loading the Item Edit or Create pages.

It probably was not anticipated that administrators would end up with lots of files in the sideload directory, but it is convenient for us, since this is the cloud-location that we use for staging all of our imports. It also serves as an archive for the original images and the CSV Import manifests. This is very convenient. What is not convenient is having to remember to disable the side-load module after every import.

Thanks

Whoops, I meant to respond in some way to your initial message, but it fell through the cracks.

I think as between your thread here and the github one, this is probably a better fit for github, so I’ll respond there.

Thank you Mr. Flatnes! I’ll follow up on your suggestion at [Sideload Module Causes Lag in Item Edit / Create forms · Issue #35 · omeka-s-modules/FileSideload · GitHub](the git hub issue)