how to optimization magento 2.2.1 site?
buddy:
Recently i build a new magento 2.2.1 vesion site, but i feel it running very slow! I first contact the magento 2.0 vesion, so i have many things need to study.
Now I want to know how to optimization the magento 2.0 vesion? I have via google to search the methods, but i don't found the good methods. Maybe i'm not intelligence, so i need your help or advice?
Thank you very much!
optimization
add a comment |
buddy:
Recently i build a new magento 2.2.1 vesion site, but i feel it running very slow! I first contact the magento 2.0 vesion, so i have many things need to study.
Now I want to know how to optimization the magento 2.0 vesion? I have via google to search the methods, but i don't found the good methods. Maybe i'm not intelligence, so i need your help or advice?
Thank you very much!
optimization
can you provide site link I will check and provide a solution for performance
– Rama Chandran M
Nov 30 '17 at 17:14
How slow is it for you? My configuration is apache on Ubuntu, PHP 7.1 with opcache + xdebug, Magento 2.2-dev in developer mode with generated static content and compiled DI. The homepage loading takes about 2secs, the slowest page is checkout page - takes about 7secs. I don't use Varnish, Redis, etc. for developing and the Magento app is pretty fast.
– joni jones
Nov 30 '17 at 21:06
Hi, Rma:This is my site supwatch.com maybe you can found some questoin! thank you very much!
– nextion
Dec 3 '17 at 5:04
add a comment |
buddy:
Recently i build a new magento 2.2.1 vesion site, but i feel it running very slow! I first contact the magento 2.0 vesion, so i have many things need to study.
Now I want to know how to optimization the magento 2.0 vesion? I have via google to search the methods, but i don't found the good methods. Maybe i'm not intelligence, so i need your help or advice?
Thank you very much!
optimization
buddy:
Recently i build a new magento 2.2.1 vesion site, but i feel it running very slow! I first contact the magento 2.0 vesion, so i have many things need to study.
Now I want to know how to optimization the magento 2.0 vesion? I have via google to search the methods, but i don't found the good methods. Maybe i'm not intelligence, so i need your help or advice?
Thank you very much!
optimization
optimization
asked Nov 30 '17 at 16:13
nextionnextion
418
418
can you provide site link I will check and provide a solution for performance
– Rama Chandran M
Nov 30 '17 at 17:14
How slow is it for you? My configuration is apache on Ubuntu, PHP 7.1 with opcache + xdebug, Magento 2.2-dev in developer mode with generated static content and compiled DI. The homepage loading takes about 2secs, the slowest page is checkout page - takes about 7secs. I don't use Varnish, Redis, etc. for developing and the Magento app is pretty fast.
– joni jones
Nov 30 '17 at 21:06
Hi, Rma:This is my site supwatch.com maybe you can found some questoin! thank you very much!
– nextion
Dec 3 '17 at 5:04
add a comment |
can you provide site link I will check and provide a solution for performance
– Rama Chandran M
Nov 30 '17 at 17:14
How slow is it for you? My configuration is apache on Ubuntu, PHP 7.1 with opcache + xdebug, Magento 2.2-dev in developer mode with generated static content and compiled DI. The homepage loading takes about 2secs, the slowest page is checkout page - takes about 7secs. I don't use Varnish, Redis, etc. for developing and the Magento app is pretty fast.
– joni jones
Nov 30 '17 at 21:06
Hi, Rma:This is my site supwatch.com maybe you can found some questoin! thank you very much!
– nextion
Dec 3 '17 at 5:04
can you provide site link I will check and provide a solution for performance
– Rama Chandran M
Nov 30 '17 at 17:14
can you provide site link I will check and provide a solution for performance
– Rama Chandran M
Nov 30 '17 at 17:14
How slow is it for you? My configuration is apache on Ubuntu, PHP 7.1 with opcache + xdebug, Magento 2.2-dev in developer mode with generated static content and compiled DI. The homepage loading takes about 2secs, the slowest page is checkout page - takes about 7secs. I don't use Varnish, Redis, etc. for developing and the Magento app is pretty fast.
– joni jones
Nov 30 '17 at 21:06
How slow is it for you? My configuration is apache on Ubuntu, PHP 7.1 with opcache + xdebug, Magento 2.2-dev in developer mode with generated static content and compiled DI. The homepage loading takes about 2secs, the slowest page is checkout page - takes about 7secs. I don't use Varnish, Redis, etc. for developing and the Magento app is pretty fast.
– joni jones
Nov 30 '17 at 21:06
Hi, Rma:This is my site supwatch.com maybe you can found some questoin! thank you very much!
– nextion
Dec 3 '17 at 5:04
Hi, Rma:This is my site supwatch.com maybe you can found some questoin! thank you very much!
– nextion
Dec 3 '17 at 5:04
add a comment |
3 Answers
3
active
oldest
votes
Magento is fairly slow to begin with and requires a fair amount of resources.
"Magento 2 is not slow. It simply requires you to do proper tuning of your environment before it is working as it was designed to work." - Jisse@Yireo (https://www.yireo.com/blog/1842-best-performance-for-magento-2-development)
I've used the below on sites and they seem to be performing a lot better:
I would strongly recommend the use of Varnish on Magento 2 as it comes built in with the system - http://devdocs.magento.com/guides/v2.2/config-guide/varnish/config-varnish.html
Any 3rd party modules you have installed require a full review to find any cacheable="false"
flags within XML on a block as this invalidates the entire page and not just that individual block, more info -
http://devdocs.magento.com/guides/v2.2/extension-dev-guide/cache/page-caching.html
Setting up Redis for Session/Cache storage is also a benefit and doesn't take - http://devdocs.magento.com/guides/v2.2/config-guide/redis/config-redis.html
Lastly, don't flush/clear your cache every time you make a change! It forces Magento to re-generate all of that data. If you make a config change then only clear the Configuration cache. Any product changes you make should automatically send a purge request for that page in Varnish once setup thus avoiding performing full cache flushes on the FPC cache.
Edit - Further suggestions:
You can try installing https://github.com/magehost/performance-dashboard to get a performance dashboard on your site and can help you in setting up Magento 2 in an ideal way
Put your site through https://run.mage.coach/ and see what it comes back with, suggests performance benefits for you to implement.
Hi, Matt: This a great advice. I have see it . Thank you very much!
– nextion
Dec 3 '17 at 5:05
Hi @nextion, glad it helped! I've amended my answer with a few more resources that might help you.
– Matt Antley
Dec 3 '17 at 10:00
add a comment |
By default Magento it's pretty robust and needs a lot of resources.
A first step in optimising Magento could be using Redis for page caching and session storage.
More information about this can be found in the official docs.
http://devdocs.magento.com/guides/v2.0/config-guide/redis/config-redis.html
Good Luck.
add a comment |
For deferring JS use a below extension.
https://marketplace.magento.com/bitware-speedenginedeferjs.html
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%2f203996%2fhow-to-optimization-magento-2-2-1-site%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Magento is fairly slow to begin with and requires a fair amount of resources.
"Magento 2 is not slow. It simply requires you to do proper tuning of your environment before it is working as it was designed to work." - Jisse@Yireo (https://www.yireo.com/blog/1842-best-performance-for-magento-2-development)
I've used the below on sites and they seem to be performing a lot better:
I would strongly recommend the use of Varnish on Magento 2 as it comes built in with the system - http://devdocs.magento.com/guides/v2.2/config-guide/varnish/config-varnish.html
Any 3rd party modules you have installed require a full review to find any cacheable="false"
flags within XML on a block as this invalidates the entire page and not just that individual block, more info -
http://devdocs.magento.com/guides/v2.2/extension-dev-guide/cache/page-caching.html
Setting up Redis for Session/Cache storage is also a benefit and doesn't take - http://devdocs.magento.com/guides/v2.2/config-guide/redis/config-redis.html
Lastly, don't flush/clear your cache every time you make a change! It forces Magento to re-generate all of that data. If you make a config change then only clear the Configuration cache. Any product changes you make should automatically send a purge request for that page in Varnish once setup thus avoiding performing full cache flushes on the FPC cache.
Edit - Further suggestions:
You can try installing https://github.com/magehost/performance-dashboard to get a performance dashboard on your site and can help you in setting up Magento 2 in an ideal way
Put your site through https://run.mage.coach/ and see what it comes back with, suggests performance benefits for you to implement.
Hi, Matt: This a great advice. I have see it . Thank you very much!
– nextion
Dec 3 '17 at 5:05
Hi @nextion, glad it helped! I've amended my answer with a few more resources that might help you.
– Matt Antley
Dec 3 '17 at 10:00
add a comment |
Magento is fairly slow to begin with and requires a fair amount of resources.
"Magento 2 is not slow. It simply requires you to do proper tuning of your environment before it is working as it was designed to work." - Jisse@Yireo (https://www.yireo.com/blog/1842-best-performance-for-magento-2-development)
I've used the below on sites and they seem to be performing a lot better:
I would strongly recommend the use of Varnish on Magento 2 as it comes built in with the system - http://devdocs.magento.com/guides/v2.2/config-guide/varnish/config-varnish.html
Any 3rd party modules you have installed require a full review to find any cacheable="false"
flags within XML on a block as this invalidates the entire page and not just that individual block, more info -
http://devdocs.magento.com/guides/v2.2/extension-dev-guide/cache/page-caching.html
Setting up Redis for Session/Cache storage is also a benefit and doesn't take - http://devdocs.magento.com/guides/v2.2/config-guide/redis/config-redis.html
Lastly, don't flush/clear your cache every time you make a change! It forces Magento to re-generate all of that data. If you make a config change then only clear the Configuration cache. Any product changes you make should automatically send a purge request for that page in Varnish once setup thus avoiding performing full cache flushes on the FPC cache.
Edit - Further suggestions:
You can try installing https://github.com/magehost/performance-dashboard to get a performance dashboard on your site and can help you in setting up Magento 2 in an ideal way
Put your site through https://run.mage.coach/ and see what it comes back with, suggests performance benefits for you to implement.
Hi, Matt: This a great advice. I have see it . Thank you very much!
– nextion
Dec 3 '17 at 5:05
Hi @nextion, glad it helped! I've amended my answer with a few more resources that might help you.
– Matt Antley
Dec 3 '17 at 10:00
add a comment |
Magento is fairly slow to begin with and requires a fair amount of resources.
"Magento 2 is not slow. It simply requires you to do proper tuning of your environment before it is working as it was designed to work." - Jisse@Yireo (https://www.yireo.com/blog/1842-best-performance-for-magento-2-development)
I've used the below on sites and they seem to be performing a lot better:
I would strongly recommend the use of Varnish on Magento 2 as it comes built in with the system - http://devdocs.magento.com/guides/v2.2/config-guide/varnish/config-varnish.html
Any 3rd party modules you have installed require a full review to find any cacheable="false"
flags within XML on a block as this invalidates the entire page and not just that individual block, more info -
http://devdocs.magento.com/guides/v2.2/extension-dev-guide/cache/page-caching.html
Setting up Redis for Session/Cache storage is also a benefit and doesn't take - http://devdocs.magento.com/guides/v2.2/config-guide/redis/config-redis.html
Lastly, don't flush/clear your cache every time you make a change! It forces Magento to re-generate all of that data. If you make a config change then only clear the Configuration cache. Any product changes you make should automatically send a purge request for that page in Varnish once setup thus avoiding performing full cache flushes on the FPC cache.
Edit - Further suggestions:
You can try installing https://github.com/magehost/performance-dashboard to get a performance dashboard on your site and can help you in setting up Magento 2 in an ideal way
Put your site through https://run.mage.coach/ and see what it comes back with, suggests performance benefits for you to implement.
Magento is fairly slow to begin with and requires a fair amount of resources.
"Magento 2 is not slow. It simply requires you to do proper tuning of your environment before it is working as it was designed to work." - Jisse@Yireo (https://www.yireo.com/blog/1842-best-performance-for-magento-2-development)
I've used the below on sites and they seem to be performing a lot better:
I would strongly recommend the use of Varnish on Magento 2 as it comes built in with the system - http://devdocs.magento.com/guides/v2.2/config-guide/varnish/config-varnish.html
Any 3rd party modules you have installed require a full review to find any cacheable="false"
flags within XML on a block as this invalidates the entire page and not just that individual block, more info -
http://devdocs.magento.com/guides/v2.2/extension-dev-guide/cache/page-caching.html
Setting up Redis for Session/Cache storage is also a benefit and doesn't take - http://devdocs.magento.com/guides/v2.2/config-guide/redis/config-redis.html
Lastly, don't flush/clear your cache every time you make a change! It forces Magento to re-generate all of that data. If you make a config change then only clear the Configuration cache. Any product changes you make should automatically send a purge request for that page in Varnish once setup thus avoiding performing full cache flushes on the FPC cache.
Edit - Further suggestions:
You can try installing https://github.com/magehost/performance-dashboard to get a performance dashboard on your site and can help you in setting up Magento 2 in an ideal way
Put your site through https://run.mage.coach/ and see what it comes back with, suggests performance benefits for you to implement.
edited Dec 4 '17 at 19:45
answered Nov 30 '17 at 17:00
Matt AntleyMatt Antley
1,049518
1,049518
Hi, Matt: This a great advice. I have see it . Thank you very much!
– nextion
Dec 3 '17 at 5:05
Hi @nextion, glad it helped! I've amended my answer with a few more resources that might help you.
– Matt Antley
Dec 3 '17 at 10:00
add a comment |
Hi, Matt: This a great advice. I have see it . Thank you very much!
– nextion
Dec 3 '17 at 5:05
Hi @nextion, glad it helped! I've amended my answer with a few more resources that might help you.
– Matt Antley
Dec 3 '17 at 10:00
Hi, Matt: This a great advice. I have see it . Thank you very much!
– nextion
Dec 3 '17 at 5:05
Hi, Matt: This a great advice. I have see it . Thank you very much!
– nextion
Dec 3 '17 at 5:05
Hi @nextion, glad it helped! I've amended my answer with a few more resources that might help you.
– Matt Antley
Dec 3 '17 at 10:00
Hi @nextion, glad it helped! I've amended my answer with a few more resources that might help you.
– Matt Antley
Dec 3 '17 at 10:00
add a comment |
By default Magento it's pretty robust and needs a lot of resources.
A first step in optimising Magento could be using Redis for page caching and session storage.
More information about this can be found in the official docs.
http://devdocs.magento.com/guides/v2.0/config-guide/redis/config-redis.html
Good Luck.
add a comment |
By default Magento it's pretty robust and needs a lot of resources.
A first step in optimising Magento could be using Redis for page caching and session storage.
More information about this can be found in the official docs.
http://devdocs.magento.com/guides/v2.0/config-guide/redis/config-redis.html
Good Luck.
add a comment |
By default Magento it's pretty robust and needs a lot of resources.
A first step in optimising Magento could be using Redis for page caching and session storage.
More information about this can be found in the official docs.
http://devdocs.magento.com/guides/v2.0/config-guide/redis/config-redis.html
Good Luck.
By default Magento it's pretty robust and needs a lot of resources.
A first step in optimising Magento could be using Redis for page caching and session storage.
More information about this can be found in the official docs.
http://devdocs.magento.com/guides/v2.0/config-guide/redis/config-redis.html
Good Luck.
answered Nov 30 '17 at 16:26
vitoriodachefvitoriodachef
1,129422
1,129422
add a comment |
add a comment |
For deferring JS use a below extension.
https://marketplace.magento.com/bitware-speedenginedeferjs.html
add a comment |
For deferring JS use a below extension.
https://marketplace.magento.com/bitware-speedenginedeferjs.html
add a comment |
For deferring JS use a below extension.
https://marketplace.magento.com/bitware-speedenginedeferjs.html
For deferring JS use a below extension.
https://marketplace.magento.com/bitware-speedenginedeferjs.html
answered 5 mins ago
SheshShesh
569
569
add a comment |
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%2f203996%2fhow-to-optimization-magento-2-2-1-site%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
can you provide site link I will check and provide a solution for performance
– Rama Chandran M
Nov 30 '17 at 17:14
How slow is it for you? My configuration is apache on Ubuntu, PHP 7.1 with opcache + xdebug, Magento 2.2-dev in developer mode with generated static content and compiled DI. The homepage loading takes about 2secs, the slowest page is checkout page - takes about 7secs. I don't use Varnish, Redis, etc. for developing and the Magento app is pretty fast.
– joni jones
Nov 30 '17 at 21:06
Hi, Rma:This is my site supwatch.com maybe you can found some questoin! thank you very much!
– nextion
Dec 3 '17 at 5:04