Details
-
Feature Request
-
Status: Completed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Issue
In Edit-mode, fragment resources are loaded multiple times across sections
Steps to reproduce
1. Create a new Content Page
2. Add 2 empty sections
3. Add Documents and Media widget into one of the sections
4. Note that /o/journal-content-web/css/main.css (Web Content) does not exist yet in page code
5. Add Web Content Display widget into the other section
6. Note that /o/journal-content-web/css/main.css is loaded from within this section only (OK)
7. Reload the page
8. Note that now /o/journal-content-web/css/main.css is loaded from both sections (NG)
9. In the same way, DM's /o/document-library-web/document_library/css/main.css is also loaded from both sections too (NG)
10. Publish the page
11. Note that only one resource is loaded for each component (OK)
12. Edit page again
13. Remove Web Content Display from page (or the section with WCD)
14. Note that /o/journal-content-web/css/main.css does still exist in the other section's code (NG)
15. Reload page
16. No traces of /o/journal-content-web/css/main.css can be found in page code
Note
Not just css (link tag), but js (script tag) as well.
Impact
While adding and removing fragments/widgets, the resulting page ends with more than 200 link/script tags, making page load take more than 30 seconds
Reproduced in
7.2 FP3
master (87c99caee95de6738bb434d9ba86b84e6f4c87d1)
Feature Request
Rework how resources are loaded in Edit-mode so page loading and editing experience improves.
Attachments
Issue Links
- is fixed by
-
LPS-112196 In Edit-mode, fragment resources are loaded more times than strictly necessary
- Closed
- is related to
-
LPS-112196 In Edit-mode, fragment resources are loaded more times than strictly necessary
- Closed