mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-22 07:14:18 +08:00
The new themes listing page at `/admin/config/customize/themes` currently has poor performance compared to the components page (`/admin/config/customize/components`) due to various N+1 issues, loading all themes and components from the server when only themes are needed, and serializing data/attributes that aren't needed for rendering the themes grid. This commit improves the performance by eliminating all N+1 that are currently present, excluding components from the page payload, and reducing the amount of data transmitted for each theme when loading the page. |
||
|---|---|---|
| .. | ||
| api-key.js | ||
| build-plugin.js | ||
| customization-base.js | ||
| email-style.js | ||
| embedding.js | ||
| permalink.js | ||
| site-text.js | ||
| staff-action-log.js | ||
| tag-group.js | ||
| theme.js | ||
| user-field.js | ||
| web-hook-event.js | ||
| web-hook.js | ||