Skip to content

[Issue] Add core/app as deps in requirejs config #34847

Closed
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #34701: Add core/app as deps in requirejs config


After many performance tests with the default luma theme and other themes I found out that the Magento_Ui/js/core/app should be inserted as deps because it managing the frontend components. This way the file is loaded earlier and does not block the rest of the JS files. In some cases, an improvement of around 3 seconds in the total loading time has been measured.

CMS Home page:
with deps
Ashampoo_Snap_Dienstag, 23  November 2021_17h32m41s_001_
without deps
Ashampoo_Snap_Dienstag, 23  November 2021_17h40m45s_003_

Women> Tops Categorie
with deps
Ashampoo_Snap_Dienstag, 23  November 2021_17h35m20s_002_
without deps
Ashampoo_Snap_Dienstag, 23  November 2021_17h43m18s_004_

Metadata

Metadata

Assignees

Labels

Area: FrameworkComponent: UiIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions