Bug #18510
closedLoading directive's page is very slow
Description
The loading of directive's page take ~3s to load.
Tested on Firefox 82.0.2 and Chromium 83.0.4103.116
Files
Updated by Elaad FURREEDAN about 4 years ago
- Related to User story #18076: Use new UI template in Directives page added
Updated by François ARMAND about 4 years ago
- File clipboard-202011091718-4bprj.png clipboard-202011091718-4bprj.png added
- File clipboard-202011091720-0qywu.png clipboard-202011091720-0qywu.png added
The problem is the size of the page that did x20: from 18KB (156 unzipped) to 334KB (2.1MB unzipped)!
- 6.1:
- 6.2:
What happened to that page?
Updated by Nicolas CHARLES about 4 years ago
also it computes on the server side a lot of compliance to load this page
On the stress server, it takes 22s before starting to transfer data
Updated by François ARMAND about 4 years ago
- File difference-61-62.txt added
For the page size, the elements for technique nodes (the one like that) is much biger now:
<ul> <li class="techniqueNode " data-jstree="{ "type" : "template" , "state" : { "disabled" : false } }"> --- here the changed part ---
See attached file.
Updated by François ARMAND about 4 years ago
- File deleted (
difference-61-62.txt)
Updated by François ARMAND about 4 years ago
- File difference-61-62.txt difference-61-62.txt added
The technique nodes contains the technique description, which are not lazy loaded anymore (see new attached file where the HTML entities are replaced for lisibility)
Updated by François ARMAND about 4 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND about 4 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/3352
Updated by François ARMAND about 4 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|537d0d29c3e4eb1d9448b31d947e9caf10b0057f.
Updated by François ARMAND about 4 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ about 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.2.0~rc1 which was released today.