Magento 2 sends around 300 request on home page so speed is very slow. Also, bundling create very large file so its taken time to load resources. I want to remove js from root lib/web from home page.

Is there any way to remove all unnecessary js?

Regards Hiren Shah

  • 1
    so do you want to exclude js files from bundling? Apr 30, 2019 at 9:06

1 Answer 1


If you know which js files are not required the you can just follow this answer

Please let me know if it solve your problem. Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.