[2.2.0-RC2.2] Static content deploy 'quick' strategy acts like 'standard' strategy #10674
Open
Description
Preconditions
Steps to reproduce
- Install Magento 2.2.0-rc22 or 2.2.7 or 2.3.0 or 2.4.3 or 2.4-develop using composer
- Add 2 language packs using composer:
composer require honl/magento2-nl-nl imaginaerum/magento2-language-fr-fr
- Run
bin/magento setup:upgrade
- Create 2 different storeviews in the backend and set the Locale configuration to
Dutch (Netherlands)
andFrench (France)
for those 2 storeviews - Reindex & flush the caches
- Run:
rm -R var/view_preprocessed/* pub/static/*
(so we start from a clean slate) - Run:
php bin/magento setup:static-content:deploy -s standard -f -t Magento/luma nl_NL fr_FR
- Results:
Deploy using standard strategy
frontend/Magento/blank/nl_NL 2083/2083 ============================ 100% % 24 secs
frontend/Magento/blank/fr_FR 2083/2083 ============================ 100% % 26 secs
frontend/Magento/luma/nl_NL 2098/2098 ============================ 100% % 29 secs
frontend/Magento/luma/fr_FR 2098/2098 ============================ 100% % 29 secs
Execution time: 114.57253885269165
- Run:
rm -R var/view_preprocessed/* pub/static/*
(so we start from a clean slate) - Run:
php bin/magento setup:static-content:deploy -s quick -f -t Magento/luma nl_NL fr_FR
- Results:
Deploy using quick strategy
frontend/Magento/blank/nl_NL 2083/2083 ============================ 100% % 25 secs
frontend/Magento/blank/fr_FR 2083/2083 ============================ 100% % 26 secs
frontend/Magento/luma/nl_NL 2098/2098 ============================ 100% % 31 secs
frontend/Magento/luma/fr_FR 2098/2098 ============================ 100% % 31 secs
Execution time: 119.81762409210205
Expected result
- As advertised in the devdocs, the quick strategy should run a lot faster then the standard strategy when using multiple locale's
Actual result
- Quick strategy behaves the same as standard strategy