OrchardCore Fixes Slow Tenant Admin Page by Reordering Pipeline Operations
A performance bug in OrchardCore's multi-tenant admin panel caused the tenant list to load slowly as the number of tenants grew, as reported in issue #19556. The root cause was that the system projected all tenants into full view models — including config reads and token generation — before applying any filtering, sorting, or pagination. The fix, submitted via PR #19557, reorders the pipeline so filtering and sorting happen first on lightweight data, and expensive projection runs only for the small set of tenants displayed on the current page. A regression introduced during review, which disrupted the category dropdown ordering, was caught and corrected before merge. The pull request was merged by sebastienros into the OrchardCMS main branch as part of milestone 4.x and flagged as a potential backport candidate.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in