Magento 2 : what is difference between js Merge and BundlingWhat is the difference between Magento CE 2.1.4 and 2.1.5?Difference between cron:run and setup:cron:runWhat is the difference between Product ID and SKU?difference between ModelProductRepository and ApiProductRepositoryInterfaceMagento2: What is the difference between referenceContainer and reference?What is the difference between base_grand_total and base_total_invoiced?What is the difference between base_grand_total and grand_total?Magento 2 Advanced Js BundlingWhat is the difference between PHP GD2 and ImageMagick?Difference between redirect and iframe
What is Rambam's source that the Sages issued a command to not teach your daughter Torah?
In-Cabinet (sink base) electrical box - Metal or Plastic?
Why adjustbox needs a tweak of raise=-0.3ex with enumitem?
Can I say "Gesundheit" if someone is coughing?
HackerRank Implement Queue using two stacks Solution
What exactly is Rhumb-line control in the context of a launch trajectory?
Has J.J.Jameson ever found out that Peter Parker is Spider-Man?
How to win an all out war against ants
How to call made-up data?
Different answers of calculations in LuaLaTeX on local computer, lua compiler and on overleaf
Meaning of ギャップ in the following sentence
Subtle ways to render a planet uninhabitable
What does Argus Filch specifically do?
How was the cosmonaut of the Soviet moon mission supposed to get back in the return vehicle?
Have you been refused entry into the Federal Republic of Germany?
Is Norway in the Single Market?
Being told my "network" isn't PCI compliant. I don't even have a server! Do I have to comply?
Why do dragons like shiny stuff?
What is Modern Vipassana?
In MTG, was there ever a five-color deck that worked well?
In a KP-K endgame, if the enemy king is in front of the pawn, is it always a draw?
Why do my fried eggs start browning very fast?
What is Albrecht Dürer's Perspective Machine drawing style?
Why wasn't interlaced CRT scanning done back and forth?
Magento 2 : what is difference between js Merge and Bundling
What is the difference between Magento CE 2.1.4 and 2.1.5?Difference between cron:run and setup:cron:runWhat is the difference between Product ID and SKU?difference between ModelProductRepository and ApiProductRepositoryInterfaceMagento2: What is the difference between referenceContainer and reference?What is the difference between base_grand_total and base_total_invoiced?What is the difference between base_grand_total and grand_total?Magento 2 Advanced Js BundlingWhat is the difference between PHP GD2 and ImageMagick?Difference between redirect and iframe
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
What kind of difference between js Merge and js Bundling for speed optimization.
magento2
add a comment |
What kind of difference between js Merge and js Bundling for speed optimization.
magento2
add a comment |
What kind of difference between js Merge and js Bundling for speed optimization.
magento2
What kind of difference between js Merge and js Bundling for speed optimization.
magento2
magento2
edited Jul 25 at 10:29
Manish Goswami
asked Jul 25 at 6:21
Manish GoswamiManish Goswami
5873 silver badges17 bronze badges
5873 silver badges17 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Minifying is removing unneeded white spaces and newlines, bundling is merging together various resources in one
In terms of speed optimization both techniques should (in theory) improve speed as they are supposed to reduce file size and requests made to the server
The detailed differences between merging/bundling are explained here:
https://devdocs.magento.com/guides/v2.3/performance-best-practices/advanced-js-bundling.html#magento-merging-and-bundling
Basically merging creates only one js file while bundling splits the js resources into different bundles (they can't both work at the same time), this is also useful:
https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/js-bundling.html
I have updated my question.
– Manish Goswami
Jul 25 at 6:32
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f283253%2fmagento-2-what-is-difference-between-js-merge-and-bundling%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Minifying is removing unneeded white spaces and newlines, bundling is merging together various resources in one
In terms of speed optimization both techniques should (in theory) improve speed as they are supposed to reduce file size and requests made to the server
The detailed differences between merging/bundling are explained here:
https://devdocs.magento.com/guides/v2.3/performance-best-practices/advanced-js-bundling.html#magento-merging-and-bundling
Basically merging creates only one js file while bundling splits the js resources into different bundles (they can't both work at the same time), this is also useful:
https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/js-bundling.html
I have updated my question.
– Manish Goswami
Jul 25 at 6:32
add a comment |
Minifying is removing unneeded white spaces and newlines, bundling is merging together various resources in one
In terms of speed optimization both techniques should (in theory) improve speed as they are supposed to reduce file size and requests made to the server
The detailed differences between merging/bundling are explained here:
https://devdocs.magento.com/guides/v2.3/performance-best-practices/advanced-js-bundling.html#magento-merging-and-bundling
Basically merging creates only one js file while bundling splits the js resources into different bundles (they can't both work at the same time), this is also useful:
https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/js-bundling.html
I have updated my question.
– Manish Goswami
Jul 25 at 6:32
add a comment |
Minifying is removing unneeded white spaces and newlines, bundling is merging together various resources in one
In terms of speed optimization both techniques should (in theory) improve speed as they are supposed to reduce file size and requests made to the server
The detailed differences between merging/bundling are explained here:
https://devdocs.magento.com/guides/v2.3/performance-best-practices/advanced-js-bundling.html#magento-merging-and-bundling
Basically merging creates only one js file while bundling splits the js resources into different bundles (they can't both work at the same time), this is also useful:
https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/js-bundling.html
Minifying is removing unneeded white spaces and newlines, bundling is merging together various resources in one
In terms of speed optimization both techniques should (in theory) improve speed as they are supposed to reduce file size and requests made to the server
The detailed differences between merging/bundling are explained here:
https://devdocs.magento.com/guides/v2.3/performance-best-practices/advanced-js-bundling.html#magento-merging-and-bundling
Basically merging creates only one js file while bundling splits the js resources into different bundles (they can't both work at the same time), this is also useful:
https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/js-bundling.html
edited Jul 25 at 6:38
answered Jul 25 at 6:29
SantiBMSantiBM
19510 bronze badges
19510 bronze badges
I have updated my question.
– Manish Goswami
Jul 25 at 6:32
add a comment |
I have updated my question.
– Manish Goswami
Jul 25 at 6:32
I have updated my question.
– Manish Goswami
Jul 25 at 6:32
I have updated my question.
– Manish Goswami
Jul 25 at 6:32
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f283253%2fmagento-2-what-is-difference-between-js-merge-and-bundling%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown