storypioneers / kirby-selector

file selector panel field for Kirby CMS
GNU General Public License v3.0
128 stars 23 forks source link

Performance Issues - Pagination? #37

Open FabianSperrle opened 8 years ago

FabianSperrle commented 8 years ago

I am working on a website for my local climbing club. They now have the possibility to create image galleries and use that extensively - some pages host over 300 pictures now!

Unfortunately that means that the performance of the page load is quite poor. Swapping kirby-selector for a normal select-field reduces the page load by more than 5 seconds! I realise that your plugin is way more complex than a simple select field and will probably never be equally fast.

I think added pagination/lazy loading could help minimize the issue. Is that something you would be willing to explore or am I alone with this issue?

JonasDoebertin commented 8 years ago

Thanks for letting me know about the performance issues.

I must admit that I haven't thought about that many pictures/files attached to a single page and haven't tested the Selector for that amount of things to handle.

Unfortunately, I'm quite busy these days and I won't be able to have a look into this within the next days. I'll leave this open and get back to it when I get the time. Could take me a week or so though… 🙈