Skip to content

Instantly share code, notes, and snippets.

@ppcdias
Last active May 19, 2024 07:42
Show Gist options
  • Save ppcdias/161b32bdfc84a979b380aecca567d7c3 to your computer and use it in GitHub Desktop.
Save ppcdias/161b32bdfc84a979b380aecca567d7c3 to your computer and use it in GitHub Desktop.
Magento 2.4 Disable Unused Modules to Increase Performance
# magento 2 disable unused modules
bin/magento module:disable Vertex_AddressValidation
bin/magento module:disable Vertex_AddressValidationApi
bin/magento module:disable Vertex_Tax
bin/magento module:disable Temando_ShippingRemover
bin/magento module:disable Dotdigitalgroup_Chat
bin/magento module:disable Dotdigitalgroup_Email
bin/magento module:disable Amazon_Payment
bin/magento module:disable Amazon_Login
bin/magento module:disable Amazon_Core
bin/magento module:disable Magento_Ups
bin/magento module:disable Magento_Fedex
bin/magento module:disable Magento_Usps
bin/magento module:disable Magento_SampleData
bin/magento module:disable Magento_WeeeGraphQl
bin/magento module:disable Magento_Weee
bin/magento module:disable Klarna_KpGraphQl
bin/magento module:disable Klarna_Kp
bin/magento module:disable Klarna_Ordermanagement
bin/magento module:disable Klarna_Onsitemessaging
bin/magento module:disable Klarna_Core
bin/magento module:disable PayPal_Braintree
bin/magento module:disable PayPal_BraintreeGraphQl
bin/magento module:disable Magento_AdobeStockImage
bin/magento module:disable Magento_AdobeStockImageAdminUi
bin/magento module:disable Magento_AdobeStockImageApi
bin/magento module:disable Magento_AdobeStockAsset
bin/magento module:disable Magento_AdobeStockAssetApi
bin/magento module:disable Magento_AdobeStockAdminUi
bin/magento module:disable Magento_AdobeStockClient
bin/magento module:disable Magento_AdobeStockClientApi
bin/magento module:disable Yotpo_Yotpo
# setup upgrade and clean cache
bin/magento setup:upgrade
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
@matheusgontijo
Copy link

Thank you so much, @ppcdias!

@gscogna
Copy link

gscogna commented Feb 14, 2023

Grazie cercavo una cosa simile ! @ppcdias

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