Files
open-webui/backend/open_webui
Classic298 43b8ad5256 perf: load the config and the session check at the same time on page load (#33914)
Every page load fetched the app config, then checked the login session, then fetched the config a second time to pick up the logged-in settings, three requests in a row before the sidebar and chat could start loading. Now the first config request sends the login token, so it already returns the logged-in settings and the second fetch is gone, and the session check runs alongside it. A deleted or deactivated user whose old login was still saved in the browser landed on the "backend not detected" error page on every reload; they now go to the sign-in page.

| Local run, 150 ms added to every request | dev branch | this change |
|---|---|---|
| Requests before the sidebar loads | 3 in a row | 2 in parallel |
| Sidebar requests start at | 1240 ms | 875 ms |
2026-11-08 18:41:44 +09:00
..
2026-11-02 08:48:51 +09:00
2026-11-08 11:52:13 +09:00
2026-11-08 11:52:13 +09:00
2026-11-06 10:49:20 +09:00
2026-11-08 18:37:29 +09:00
2026-11-02 09:59:00 +09:00
2026-10-05 12:03:19 +04:00
2026-11-08 12:56:55 +09:00
2026-11-08 18:37:29 +09:00
2026-11-02 08:48:51 +09:00
2026-11-08 12:24:29 +09:00
2026-11-03 16:25:23 +09:00
2026-11-02 08:48:51 +09:00