Multistore slow on one URL
We have a Magento 2 multistore setup on a Dedidacted server with two stores views.
When we access one URL it has a normal load of 2-3 seconds, when accessing the other URL we have a load of +20 seconds.
www.fietsenwinkelonline.be -> normal load time
www.vliegendhert.be -> +20 seconds load time
Does anyone come accross this issue and/or has a fix for it or a nudge in the right direction?
If we need to provide more specifics please let us know.
magento2 multistore
|
show 1 more comment
We have a Magento 2 multistore setup on a Dedidacted server with two stores views.
When we access one URL it has a normal load of 2-3 seconds, when accessing the other URL we have a load of +20 seconds.
www.fietsenwinkelonline.be -> normal load time
www.vliegendhert.be -> +20 seconds load time
Does anyone come accross this issue and/or has a fix for it or a nudge in the right direction?
If we need to provide more specifics please let us know.
magento2 multistore
Do you have set up correctly Magento 2 from a performance point of view ? Such as Redis + Varnish + All cache enabled + Minify/Merge/Versioning statics ?
– Franck Garnier
Mar 27 '17 at 12:00
@FranckGarnier All optimizations have been applied, server side and Backend. The weird point is that one URL loads as it should and another doesn't... (There are only two shops).
– nick_name
Mar 27 '17 at 13:05
Do you know if the time spent is on Magento side ? Or on network side ? What is the difference between your two websites ? Number of products ? Custom code ?
– Franck Garnier
Mar 27 '17 at 13:10
@FranckGarnier According to our server provider it takes a while for Magento to generate the second store, initial server response is in the ms. Both websites are identical, same products, customers, code, ... The only difference is the "view", template is identical except for the logo.
– nick_name
Mar 27 '17 at 13:23
Try to remove Javascript Error first.
– Franck Garnier
Mar 27 '17 at 13:24
|
show 1 more comment
We have a Magento 2 multistore setup on a Dedidacted server with two stores views.
When we access one URL it has a normal load of 2-3 seconds, when accessing the other URL we have a load of +20 seconds.
www.fietsenwinkelonline.be -> normal load time
www.vliegendhert.be -> +20 seconds load time
Does anyone come accross this issue and/or has a fix for it or a nudge in the right direction?
If we need to provide more specifics please let us know.
magento2 multistore
We have a Magento 2 multistore setup on a Dedidacted server with two stores views.
When we access one URL it has a normal load of 2-3 seconds, when accessing the other URL we have a load of +20 seconds.
www.fietsenwinkelonline.be -> normal load time
www.vliegendhert.be -> +20 seconds load time
Does anyone come accross this issue and/or has a fix for it or a nudge in the right direction?
If we need to provide more specifics please let us know.
magento2 multistore
magento2 multistore
edited 12 mins ago
Teja Bhagavan Kollepara
2,94841847
2,94841847
asked Mar 25 '17 at 10:23
nick_namenick_name
85
85
Do you have set up correctly Magento 2 from a performance point of view ? Such as Redis + Varnish + All cache enabled + Minify/Merge/Versioning statics ?
– Franck Garnier
Mar 27 '17 at 12:00
@FranckGarnier All optimizations have been applied, server side and Backend. The weird point is that one URL loads as it should and another doesn't... (There are only two shops).
– nick_name
Mar 27 '17 at 13:05
Do you know if the time spent is on Magento side ? Or on network side ? What is the difference between your two websites ? Number of products ? Custom code ?
– Franck Garnier
Mar 27 '17 at 13:10
@FranckGarnier According to our server provider it takes a while for Magento to generate the second store, initial server response is in the ms. Both websites are identical, same products, customers, code, ... The only difference is the "view", template is identical except for the logo.
– nick_name
Mar 27 '17 at 13:23
Try to remove Javascript Error first.
– Franck Garnier
Mar 27 '17 at 13:24
|
show 1 more comment
Do you have set up correctly Magento 2 from a performance point of view ? Such as Redis + Varnish + All cache enabled + Minify/Merge/Versioning statics ?
– Franck Garnier
Mar 27 '17 at 12:00
@FranckGarnier All optimizations have been applied, server side and Backend. The weird point is that one URL loads as it should and another doesn't... (There are only two shops).
– nick_name
Mar 27 '17 at 13:05
Do you know if the time spent is on Magento side ? Or on network side ? What is the difference between your two websites ? Number of products ? Custom code ?
– Franck Garnier
Mar 27 '17 at 13:10
@FranckGarnier According to our server provider it takes a while for Magento to generate the second store, initial server response is in the ms. Both websites are identical, same products, customers, code, ... The only difference is the "view", template is identical except for the logo.
– nick_name
Mar 27 '17 at 13:23
Try to remove Javascript Error first.
– Franck Garnier
Mar 27 '17 at 13:24
Do you have set up correctly Magento 2 from a performance point of view ? Such as Redis + Varnish + All cache enabled + Minify/Merge/Versioning statics ?
– Franck Garnier
Mar 27 '17 at 12:00
Do you have set up correctly Magento 2 from a performance point of view ? Such as Redis + Varnish + All cache enabled + Minify/Merge/Versioning statics ?
– Franck Garnier
Mar 27 '17 at 12:00
@FranckGarnier All optimizations have been applied, server side and Backend. The weird point is that one URL loads as it should and another doesn't... (There are only two shops).
– nick_name
Mar 27 '17 at 13:05
@FranckGarnier All optimizations have been applied, server side and Backend. The weird point is that one URL loads as it should and another doesn't... (There are only two shops).
– nick_name
Mar 27 '17 at 13:05
Do you know if the time spent is on Magento side ? Or on network side ? What is the difference between your two websites ? Number of products ? Custom code ?
– Franck Garnier
Mar 27 '17 at 13:10
Do you know if the time spent is on Magento side ? Or on network side ? What is the difference between your two websites ? Number of products ? Custom code ?
– Franck Garnier
Mar 27 '17 at 13:10
@FranckGarnier According to our server provider it takes a while for Magento to generate the second store, initial server response is in the ms. Both websites are identical, same products, customers, code, ... The only difference is the "view", template is identical except for the logo.
– nick_name
Mar 27 '17 at 13:23
@FranckGarnier According to our server provider it takes a while for Magento to generate the second store, initial server response is in the ms. Both websites are identical, same products, customers, code, ... The only difference is the "view", template is identical except for the logo.
– nick_name
Mar 27 '17 at 13:23
Try to remove Javascript Error first.
– Franck Garnier
Mar 27 '17 at 13:24
Try to remove Javascript Error first.
– Franck Garnier
Mar 27 '17 at 13:24
|
show 1 more comment
1 Answer
1
active
oldest
votes
On my chromium test, the time for both website is similar.
You just may reach the site without cache hit for the first time.
I advise you to activate Javascript bundling and Sign Static Files in order to avoid a tons of RequireJs HTTP request
I advise you to set Magento in production mode.
I advise you to fix the Javascript error :
(index):3700 Uncaught ReferenceError: jQuery is not defined
at (index):3700
(anonymous) @ (index):3700
(index):3761 Uncaught ReferenceError: jQuery is not defined
at (index):3761
(anonymous) @ (index):3761
(index):3801 Uncaught ReferenceError: jQuery is not defined
at (index):3801
I advise you to setup a Varnish behind your Apache.
I advise you to use PHP 7 for huge performance improvement.
I advise you to recheck that all caches are enabled.
I advice you to profile your Magento 2 to find the bottleneck, maybe custom module.
I advice you to check that you Apache can handle correctly all your requests. (Check CPU usage etc)
Minify, Merge and Javascript Bundling are already enabled & all caches are enabled. We'll contact our server provider for upgrading to php 7. CPU usage is within normal range according our provider. Varnish is something we'd like to put in as soon as everything runs as it should.
– nick_name
Mar 27 '17 at 13:37
I think that Varnish + PHP 7 + Javascript Bundling will reduce you load significantly. (Javascript Bundling is not activated in my test, try to redeploy and regenerate your static files)
– Franck Garnier
Mar 27 '17 at 13:40
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%2f166161%2fmultistore-slow-on-one-url%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
On my chromium test, the time for both website is similar.
You just may reach the site without cache hit for the first time.
I advise you to activate Javascript bundling and Sign Static Files in order to avoid a tons of RequireJs HTTP request
I advise you to set Magento in production mode.
I advise you to fix the Javascript error :
(index):3700 Uncaught ReferenceError: jQuery is not defined
at (index):3700
(anonymous) @ (index):3700
(index):3761 Uncaught ReferenceError: jQuery is not defined
at (index):3761
(anonymous) @ (index):3761
(index):3801 Uncaught ReferenceError: jQuery is not defined
at (index):3801
I advise you to setup a Varnish behind your Apache.
I advise you to use PHP 7 for huge performance improvement.
I advise you to recheck that all caches are enabled.
I advice you to profile your Magento 2 to find the bottleneck, maybe custom module.
I advice you to check that you Apache can handle correctly all your requests. (Check CPU usage etc)
Minify, Merge and Javascript Bundling are already enabled & all caches are enabled. We'll contact our server provider for upgrading to php 7. CPU usage is within normal range according our provider. Varnish is something we'd like to put in as soon as everything runs as it should.
– nick_name
Mar 27 '17 at 13:37
I think that Varnish + PHP 7 + Javascript Bundling will reduce you load significantly. (Javascript Bundling is not activated in my test, try to redeploy and regenerate your static files)
– Franck Garnier
Mar 27 '17 at 13:40
add a comment |
On my chromium test, the time for both website is similar.
You just may reach the site without cache hit for the first time.
I advise you to activate Javascript bundling and Sign Static Files in order to avoid a tons of RequireJs HTTP request
I advise you to set Magento in production mode.
I advise you to fix the Javascript error :
(index):3700 Uncaught ReferenceError: jQuery is not defined
at (index):3700
(anonymous) @ (index):3700
(index):3761 Uncaught ReferenceError: jQuery is not defined
at (index):3761
(anonymous) @ (index):3761
(index):3801 Uncaught ReferenceError: jQuery is not defined
at (index):3801
I advise you to setup a Varnish behind your Apache.
I advise you to use PHP 7 for huge performance improvement.
I advise you to recheck that all caches are enabled.
I advice you to profile your Magento 2 to find the bottleneck, maybe custom module.
I advice you to check that you Apache can handle correctly all your requests. (Check CPU usage etc)
Minify, Merge and Javascript Bundling are already enabled & all caches are enabled. We'll contact our server provider for upgrading to php 7. CPU usage is within normal range according our provider. Varnish is something we'd like to put in as soon as everything runs as it should.
– nick_name
Mar 27 '17 at 13:37
I think that Varnish + PHP 7 + Javascript Bundling will reduce you load significantly. (Javascript Bundling is not activated in my test, try to redeploy and regenerate your static files)
– Franck Garnier
Mar 27 '17 at 13:40
add a comment |
On my chromium test, the time for both website is similar.
You just may reach the site without cache hit for the first time.
I advise you to activate Javascript bundling and Sign Static Files in order to avoid a tons of RequireJs HTTP request
I advise you to set Magento in production mode.
I advise you to fix the Javascript error :
(index):3700 Uncaught ReferenceError: jQuery is not defined
at (index):3700
(anonymous) @ (index):3700
(index):3761 Uncaught ReferenceError: jQuery is not defined
at (index):3761
(anonymous) @ (index):3761
(index):3801 Uncaught ReferenceError: jQuery is not defined
at (index):3801
I advise you to setup a Varnish behind your Apache.
I advise you to use PHP 7 for huge performance improvement.
I advise you to recheck that all caches are enabled.
I advice you to profile your Magento 2 to find the bottleneck, maybe custom module.
I advice you to check that you Apache can handle correctly all your requests. (Check CPU usage etc)
On my chromium test, the time for both website is similar.
You just may reach the site without cache hit for the first time.
I advise you to activate Javascript bundling and Sign Static Files in order to avoid a tons of RequireJs HTTP request
I advise you to set Magento in production mode.
I advise you to fix the Javascript error :
(index):3700 Uncaught ReferenceError: jQuery is not defined
at (index):3700
(anonymous) @ (index):3700
(index):3761 Uncaught ReferenceError: jQuery is not defined
at (index):3761
(anonymous) @ (index):3761
(index):3801 Uncaught ReferenceError: jQuery is not defined
at (index):3801
I advise you to setup a Varnish behind your Apache.
I advise you to use PHP 7 for huge performance improvement.
I advise you to recheck that all caches are enabled.
I advice you to profile your Magento 2 to find the bottleneck, maybe custom module.
I advice you to check that you Apache can handle correctly all your requests. (Check CPU usage etc)
edited Mar 27 '17 at 13:46
answered Mar 27 '17 at 13:30
Franck GarnierFranck Garnier
2,016826
2,016826
Minify, Merge and Javascript Bundling are already enabled & all caches are enabled. We'll contact our server provider for upgrading to php 7. CPU usage is within normal range according our provider. Varnish is something we'd like to put in as soon as everything runs as it should.
– nick_name
Mar 27 '17 at 13:37
I think that Varnish + PHP 7 + Javascript Bundling will reduce you load significantly. (Javascript Bundling is not activated in my test, try to redeploy and regenerate your static files)
– Franck Garnier
Mar 27 '17 at 13:40
add a comment |
Minify, Merge and Javascript Bundling are already enabled & all caches are enabled. We'll contact our server provider for upgrading to php 7. CPU usage is within normal range according our provider. Varnish is something we'd like to put in as soon as everything runs as it should.
– nick_name
Mar 27 '17 at 13:37
I think that Varnish + PHP 7 + Javascript Bundling will reduce you load significantly. (Javascript Bundling is not activated in my test, try to redeploy and regenerate your static files)
– Franck Garnier
Mar 27 '17 at 13:40
Minify, Merge and Javascript Bundling are already enabled & all caches are enabled. We'll contact our server provider for upgrading to php 7. CPU usage is within normal range according our provider. Varnish is something we'd like to put in as soon as everything runs as it should.
– nick_name
Mar 27 '17 at 13:37
Minify, Merge and Javascript Bundling are already enabled & all caches are enabled. We'll contact our server provider for upgrading to php 7. CPU usage is within normal range according our provider. Varnish is something we'd like to put in as soon as everything runs as it should.
– nick_name
Mar 27 '17 at 13:37
I think that Varnish + PHP 7 + Javascript Bundling will reduce you load significantly. (Javascript Bundling is not activated in my test, try to redeploy and regenerate your static files)
– Franck Garnier
Mar 27 '17 at 13:40
I think that Varnish + PHP 7 + Javascript Bundling will reduce you load significantly. (Javascript Bundling is not activated in my test, try to redeploy and regenerate your static files)
– Franck Garnier
Mar 27 '17 at 13:40
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%2f166161%2fmultistore-slow-on-one-url%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
Do you have set up correctly Magento 2 from a performance point of view ? Such as Redis + Varnish + All cache enabled + Minify/Merge/Versioning statics ?
– Franck Garnier
Mar 27 '17 at 12:00
@FranckGarnier All optimizations have been applied, server side and Backend. The weird point is that one URL loads as it should and another doesn't... (There are only two shops).
– nick_name
Mar 27 '17 at 13:05
Do you know if the time spent is on Magento side ? Or on network side ? What is the difference between your two websites ? Number of products ? Custom code ?
– Franck Garnier
Mar 27 '17 at 13:10
@FranckGarnier According to our server provider it takes a while for Magento to generate the second store, initial server response is in the ms. Both websites are identical, same products, customers, code, ... The only difference is the "view", template is identical except for the logo.
– nick_name
Mar 27 '17 at 13:23
Try to remove Javascript Error first.
– Franck Garnier
Mar 27 '17 at 13:24