silverstripe-blog icon indicating copy to clipboard operation
silverstripe-blog copied to clipboard

bug: blogpost is very slow when you have 5k Members

Open sunnysideup opened this issue 4 years ago • 2 comments

We had a site with 5k Members and the CMS kept running out of memory when we load a blog post.

sunnysideup avatar Mar 25 '21 08:03 sunnysideup

This has been addressed in past IIRC, might be a regression that came back? There was a way how not to load all the members until interacting with the member dropdown. Unfortunately, I don't remember much more.

michalkleiner avatar Mar 25 '21 21:03 michalkleiner

yes, I think you can change the set up in Blog to avoid this, but the thing is that this you have no idea why it loads so slow / trips over ... I'd say that the way it should be changed is that only members who can access the CMS can be authors ... I mean, this idea that any member can write a blog post is lovely, but feels more like and edge case (e.g. a members site where an author for a blog is just an ordinary members and somehow needs to be linked to blog that has been created and published by a CMS editor).

here is my pull request: https://github.com/silverstripe/silverstripe-blog/pull/641

sunnysideup avatar Mar 25 '21 21:03 sunnysideup