[Issue] Update sortOrder load for async css plugin #30882
Labels
Component: Theme
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Priority: P2
A defect with this priority could have functionality issues which are not to expectations.
Progress: done
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Severity: S1
Affects critical data or functionality and forces users to employ a workaround.
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)
Manual testing scenarios (*)
Stores > Configuration > Advanced > Developer > Css setttings > Use CSS critical path: YES
Questions or comments
CC: @HenKun @sidolov @krzksz @brightonmike Feel free give to me any suggest or comments
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: