Closed
Description
This issue is automatically created based on existing pull request: #30871: Update sortOrder load for async css plugin
Description (*)
Magento 2.4-develop
This update made for sure load async css plugin first before JsFooterPlugin load. We use lower order for let magento run AsyncCssPlugin first then run into JsFooterPlugin. After all that is cache plugins will be run
Before this PR
Order plugins
JsFooterPlugin < BuiltinPlugin(PageCache) < VarnishPlugin(PageCache) < AsyncCssPlugin
After this PR
Order plugins now will be
AsyncCssPlugin < JsFooterPlugin < BuiltinPlugin(PageCache) < VarnishPlugin(PageCache)
Related Pull Requests
Fixed Issues (if relevant)
- Fixes magento/magento2#<issue_number>
Manual testing scenarios (*)
- Setup site magento 2.4 with code base 2.4-develop
- Cache types all enabled
- Enable async css
Stores > Configuration > Advanced > Developer > Css setttings > Use CSS critical path: YES - Clear cache page + config
Questions or comments
CC: @HenKun @sidolov @krzksz @brightonmike Feel free give to me any suggest or comments
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All new or changed code is covered with unit/integration tests (if applicable)
- All automated tests passed successfully (all builds are green)
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedA defect with this priority could have functionality issues which are not to expectations.The issue has been reproduced on latest 2.4-develop branchAffects critical data or functionality and forces users to employ a workaround.
Type
Projects
Status
Done