I've read so many conflicting write up's and blogs about whether to "Enable Javascript Bundling" or not. Some say it's slow and some say it's faster when enabled.

From what I understand it takes all scripts of a module and merges them into a single script. If you enable this feature, a page will load the whole javascript content regardless of whether it is used on the page or not. As a result, page size increases - bad news for store performance.

Why would you want load a bunch of scripts you are not using? I'm not sure if there is an official thread about bundling and the pros and cons but perhaps we can make this the official thread.

I've noticed on my 2.3 store it's faster when JavaScript bundling is not enabled.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.