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
Can I say "Gesundheit" if someone is coughing?
What is Albrecht Dürer's Perspective Machine drawing style?
Subtle ways to render a planet uninhabitable
Difference between "jail" and "prison" in German
A verb for when some rights are not violated?
Is there any difference between "result in" and "end up with"?
Can you shove a friendly creature?
Have you been refused entry into the Federal Republic of Germany?
How can I perform a deterministic physics simulation?
How long should I wait to plug in my refrigerator after unplugging it?
Why does BezierFunction not follow BezierCurve at npts>4?
Using Forstner bits instead of hole saws
How do I safety check that there is no light in Darkroom / Darkbag?
Is there a word that describes people who are extraverted and/or energetic, but uneducated, unintelligent and/or uncreative?
Gödel's paradox: Why is "a proof that some universal statement is unprovable" not a valid proof that this statement is true?
What is it exactly about flying a Flyboard across the English channel that made Zapata's thighs burn?
Does the problem of P vs NP come under the category of Operational Research?
How to transform a function from f[#1] to f[x]
How to handle many times series?
Does WSL2 runs Linux in a virtual machine or alongside windows Kernel?
Skipping same old introductions
Went to a big 4 but got fired for underperformance in a year recently - Now every one thinks I'm pro - How to balance expectations?
How to design an effective polearm-bow hybrid?
Is the first page of Novel really that important?
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