Similar to #2851664: Make watchdog optional for performance, for very large sites, this can be a performance hindrance when loading a ton of users (in our case, 6500+).
I'm not sure how often settings need to be edited for directory rules, but caching this response should help with loading those forms. In addition, I added a checkbox to the preference pane that can make this step optional since you do have to clear cache if you're looking for specific users.
Attached are screenshots showing the load times with and without cache, and you can see an significant improvement with caching.
Without caching
With caching
Comment | File | Size | Author |
---|---|---|---|
#2 | cache-get-users-2851804-1.patch | 3.03 KB | kyletaylored |
Comments
Comment #2
kyletaylored CreditAttribution: kyletaylored at LevelTen Interactive commentedPatch attached.
Comment #3
kyletaylored CreditAttribution: kyletaylored at LevelTen Interactive commentedComment #4
kyletaylored CreditAttribution: kyletaylored at LevelTen Interactive commentedComment #5
zanonmark CreditAttribution: zanonmark commentedComment #7
zanonmark CreditAttribution: zanonmark commentedComment #8
zanonmark CreditAttribution: zanonmark commentedThanks for this patch, too: I just committed it to the current -dev branch.
Thanks,
Marco