Skip to content

[2.2.0-RC2.2] Static content deploy 'quick' strategy acts like 'standard' strategy #10674

Open
@hostep

Description

Preconditions

Steps to reproduce

  1. Install Magento 2.2.0-rc22 or 2.2.7 or 2.3.0 or 2.4.3 or 2.4-develop using composer
  2. Add 2 language packs using composer: composer require honl/magento2-nl-nl imaginaerum/magento2-language-fr-fr
  3. Run bin/magento setup:upgrade
  4. Create 2 different storeviews in the backend and set the Locale configuration to Dutch (Netherlands) and French (France) for those 2 storeviews
  5. Reindex & flush the caches
  6. Run: rm -R var/view_preprocessed/* pub/static/* (so we start from a clean slate)
  7. Run: php bin/magento setup:static-content:deploy -s standard -f -t Magento/luma nl_NL fr_FR
  8. 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
  1. Run: rm -R var/view_preprocessed/* pub/static/* (so we start from a clean slate)
  2. Run: php bin/magento setup:static-content:deploy -s quick -f -t Magento/luma nl_NL fr_FR
  3. 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

  1. As advertised in the devdocs, the quick strategy should run a lot faster then the standard strategy when using multiple locale's

Actual result

  1. Quick strategy behaves the same as standard strategy

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Admin UIComponent: SetupIssue: 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: ready for devReported 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 branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions