mirror of
https://github.com/wekan/wekan.git
synced 2026-11-20 15:45:01 -05:00
The docs tree is laid out like the menus - a menu path is a docs path. Admin Panel / Settings follows the new structure: Visibility.md is Appearance.md, with new Features.md, Feature-Profiles.md, Security.md, Activities-and-Notifications.md and Delete.md; the section indexes, Admin-Panel.md, Admin-Panel-URLs.md (with the moved-pane redirects) and Validation.md follow the live menus, and Who-Sees-What.md explains in one place which layer decides what is shown and what is allowed. Pages are added for the menu entries that had none, each written from the code: every Admin Panel / Problems pane, the member menu, the board header, Board Settings, the All Boards left menu, and the list, swimlane and card menus. Older links to the moved panes are updated across docs/. TODO.md records what documenting the menus found: Edit Profile does not save a username for non-admins, the Support page's signed-out case is unreachable, Create board from this card is hidden from members who can edit the card, All Boards Settings is unreachable, and the Share template targets live in browser storage. Thanks to xet7 !
37 lines
1.4 KiB
Markdown
37 lines
1.4 KiB
Markdown
# Admin Panel / Problems / Performance
|
|
|
|
How WeKan loads a board's cards. Address: `/admin/problems/performance`. Site
|
|
administrators only. The pane is a description, with nothing to click or
|
|
save: it sits beside Speed, Tests and CPU usage because it is what decides how
|
|
much a big board costs to open.
|
|
|
|
## What it says
|
|
|
|
**Card loading** is automatic, per board, by size (`models/lib/cardsLoading.js`):
|
|
|
|
- a board with more than the threshold of cards (default **500**) loads lazily:
|
|
each list loads only the cards that are visible (infinite scroll) and the
|
|
counts come from the server;
|
|
- a smaller board loads every card, for the simplest and fully featured
|
|
behaviour.
|
|
|
|
## Environment variables
|
|
|
|
There is no setting in the Admin Panel. Operators can force a mode:
|
|
|
|
| Variable | Values | Default |
|
|
| --- | --- | --- |
|
|
| `CARDS_LOADING` | `auto`, `all` or `lazy`; anything else is `auto` | `auto` |
|
|
| `CARDS_LOADING_LAZY_THRESHOLD` | a card count; `0` makes every `auto` board lazy; an invalid or negative value is the default | `500` |
|
|
|
|
`all` sends every non-archived card of a board to each viewer; filtering,
|
|
search, counts, sorting and drag and drop then run in the browser. `lazy`
|
|
sends only the visible window of each list, through a windowed publication per
|
|
list.
|
|
|
|
## Related
|
|
|
|
- [Large-Boards.md](Large-Boards.md) - what a large board loads, and the
|
|
measurements behind the threshold.
|
|
- [Speed](Speed.md) and [CPU usage](CPU-usage.md).
|