[Issue] Speedup static content deploy for specific theme #30184
Labels
Component: Deploy
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
Issue: Clear Description
Gate 2 Passed. Manual verification of the issue description passed
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Priority: P3
May be fixed according to the position in the backlog.
Progress: done
Reported on 2.4.0
Indicates original Magento version for the Issue report.
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Severity: S3
Affects non-critical data or functionality and does not force users to employ a workaround.
Uh oh!
There was an error while loading. Please reload this page.
This issue is automatically created based on existing pull request: #30090: Speedup static content deploy for specific theme
Preconditions (*)
2.4-develop
Description (*)
This PR adds improvement for ability to deploy the only specific theme(s) for multiple locales, so it should improve build phase of deployment for the those who use single theme with different locales.
Basically what I did - i just removed packages from all themes from which inherited requested theme, so in case of Luma - we have only 1 parent theme, but for people who has bigger inheritance - different will be bigger.
How I tested:
Before:

~130 seconds ❌
After:

~65 seconds ✔
Steps to reproduce (*)
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f -t Magento/luma --no-parent -- en_AU en_CA en_IE en_NZ en_GB en_US
Actual result (*)
Content deploy with


--no-parent
parameter was not availablePerforming
php bin/magento setup:static-content:deploy -f -t Magento/luma -- en_AU en_CA en_IE en_NZ en_GB en_US
finished in 269 secondsExpected result (*)
php bin/magento setup:static-content:deploy -f -t Magento/luma --no-parent -- en_AU en_CA en_IE en_NZ en_GB en_US
became available and finished fasterThe text was updated successfully, but these errors were encountered: