Magento 2: Checkout page is loading very slowMagento 2.1.2 super slowMagento 2 very slowMagento 2 - Very slow performance, Cache/static files issues after disabling cache and flushing static files cacheTTFB 2+ seconds magento 2.1.5Very slow loading upon locale changeBecause of search_tmp page is loading very slow magento2Magento 2.2.4 - incredibly slow only on remote machine. Problem already starts with php bin/magentoMagento 2 send email very very slowpages loading slowMagento 2 - Page Speed Insights / Lighthouse Audits Low Scores

How to get a plain text file version of a CP/M .BAS (M-BASIC) program?

How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?

Document starts having heaps of errors in the middle, but the code doesn't have any problems in it

Does holding a wand and speaking its command word count as V/S/M spell components?

Why isn't the definition of absolute value applied when squaring a radical containing a variable?

Was there a Viking Exchange as well as a Columbian one?

How to stop co-workers from teasing me because I know Russian?

Pulling the rope with one hand is as heavy as with two hands?

Error message with tabularx

Rivers without rain

Is it possible to determine the symmetric encryption method used by output size?

Repelling Blast: Must targets always be pushed back?

Why was Germany not as successful as other Europeans in establishing overseas colonies?

What makes accurate emulation of old systems a difficult task?

Sci fi novel series with instant travel between planets through gates. A river runs through the gates

How to verbalise code in Mathematica?

Are Boeing 737-800’s grounded?

Do I have an "anti-research" personality?

Phrase for the opposite of "foolproof"

What was the first Intel x86 processor with "Base + Index * Scale + Displacement" addressing mode?

How much cash can I safely carry into the USA and avoid civil forfeiture?

Is there any limitation with Arduino Nano serial communication distance?

Noun clause (singular all the time?)

Which big number is bigger?



Magento 2: Checkout page is loading very slow


Magento 2.1.2 super slowMagento 2 very slowMagento 2 - Very slow performance, Cache/static files issues after disabling cache and flushing static files cacheTTFB 2+ seconds magento 2.1.5Very slow loading upon locale changeBecause of search_tmp page is loading very slow magento2Magento 2.2.4 - incredibly slow only on remote machine. Problem already starts with php bin/magentoMagento 2 send email very very slowpages loading slowMagento 2 - Page Speed Insights / Lighthouse Audits Low Scores






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















The checkout page on our Magento 2 store is loading insanely slow. Does anyone know what causes this or how to fix this?



Customers are cancelling the orders in this last step. Really frustrating.



Thanks a lot!



UPDATE:



I provided a screenshot of the chrome waterfall. As you can see, some files are queued at 8+ seconds. Some files take over 30 seconds to load.



How can we speed this up? I checked the TTFB by enabling profiling, but that didn't show any significantly slow things. Please check screenshot.



enter image description here










share|improve this question
















bumped to the homepage by Community 14 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Have you tried caching, JS AND CSS merge? Please share website URL and server configuration(ram, PHP version, Mysql version).

    – kunj
    May 28 '18 at 16:37











  • That doesn't seem to be the problem. The checkout page shows the loading spinner for about 1 to 2 minutes and then loads the checkout form.

    – Rick
    May 31 '18 at 10:26











  • Pleas, provide more details like your website url and which modules are installed for checkout, have you tried after disable one by one?

    – kunj
    Jun 1 '18 at 3:39











  • Maybe the screenshot helps @kunj I think the server config is ok. There's only one site running on a pretty good server.

    – Rick
    Jun 7 '18 at 9:52











  • I have a very similar issue, with remarkably similar numbers - ~415 requests and 45s to load the checkout. Server is not the issue and we have all merging and caches enabled, and we use Varnish (although it's probably not active on the checkout page). Did you figure anything out @Rick ?

    – James
    Sep 19 '18 at 12:45


















3















The checkout page on our Magento 2 store is loading insanely slow. Does anyone know what causes this or how to fix this?



Customers are cancelling the orders in this last step. Really frustrating.



Thanks a lot!



UPDATE:



I provided a screenshot of the chrome waterfall. As you can see, some files are queued at 8+ seconds. Some files take over 30 seconds to load.



How can we speed this up? I checked the TTFB by enabling profiling, but that didn't show any significantly slow things. Please check screenshot.



enter image description here










share|improve this question
















bumped to the homepage by Community 14 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Have you tried caching, JS AND CSS merge? Please share website URL and server configuration(ram, PHP version, Mysql version).

    – kunj
    May 28 '18 at 16:37











  • That doesn't seem to be the problem. The checkout page shows the loading spinner for about 1 to 2 minutes and then loads the checkout form.

    – Rick
    May 31 '18 at 10:26











  • Pleas, provide more details like your website url and which modules are installed for checkout, have you tried after disable one by one?

    – kunj
    Jun 1 '18 at 3:39











  • Maybe the screenshot helps @kunj I think the server config is ok. There's only one site running on a pretty good server.

    – Rick
    Jun 7 '18 at 9:52











  • I have a very similar issue, with remarkably similar numbers - ~415 requests and 45s to load the checkout. Server is not the issue and we have all merging and caches enabled, and we use Varnish (although it's probably not active on the checkout page). Did you figure anything out @Rick ?

    – James
    Sep 19 '18 at 12:45














3












3








3








The checkout page on our Magento 2 store is loading insanely slow. Does anyone know what causes this or how to fix this?



Customers are cancelling the orders in this last step. Really frustrating.



Thanks a lot!



UPDATE:



I provided a screenshot of the chrome waterfall. As you can see, some files are queued at 8+ seconds. Some files take over 30 seconds to load.



How can we speed this up? I checked the TTFB by enabling profiling, but that didn't show any significantly slow things. Please check screenshot.



enter image description here










share|improve this question
















The checkout page on our Magento 2 store is loading insanely slow. Does anyone know what causes this or how to fix this?



Customers are cancelling the orders in this last step. Really frustrating.



Thanks a lot!



UPDATE:



I provided a screenshot of the chrome waterfall. As you can see, some files are queued at 8+ seconds. Some files take over 30 seconds to load.



How can we speed this up? I checked the TTFB by enabling profiling, but that didn't show any significantly slow things. Please check screenshot.



enter image description here







magento2 magento-2.1 checkout-page






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 7 '18 at 9:51







Rick

















asked May 28 '18 at 16:02









RickRick

18818




18818





bumped to the homepage by Community 14 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 14 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • Have you tried caching, JS AND CSS merge? Please share website URL and server configuration(ram, PHP version, Mysql version).

    – kunj
    May 28 '18 at 16:37











  • That doesn't seem to be the problem. The checkout page shows the loading spinner for about 1 to 2 minutes and then loads the checkout form.

    – Rick
    May 31 '18 at 10:26











  • Pleas, provide more details like your website url and which modules are installed for checkout, have you tried after disable one by one?

    – kunj
    Jun 1 '18 at 3:39











  • Maybe the screenshot helps @kunj I think the server config is ok. There's only one site running on a pretty good server.

    – Rick
    Jun 7 '18 at 9:52











  • I have a very similar issue, with remarkably similar numbers - ~415 requests and 45s to load the checkout. Server is not the issue and we have all merging and caches enabled, and we use Varnish (although it's probably not active on the checkout page). Did you figure anything out @Rick ?

    – James
    Sep 19 '18 at 12:45


















  • Have you tried caching, JS AND CSS merge? Please share website URL and server configuration(ram, PHP version, Mysql version).

    – kunj
    May 28 '18 at 16:37











  • That doesn't seem to be the problem. The checkout page shows the loading spinner for about 1 to 2 minutes and then loads the checkout form.

    – Rick
    May 31 '18 at 10:26











  • Pleas, provide more details like your website url and which modules are installed for checkout, have you tried after disable one by one?

    – kunj
    Jun 1 '18 at 3:39











  • Maybe the screenshot helps @kunj I think the server config is ok. There's only one site running on a pretty good server.

    – Rick
    Jun 7 '18 at 9:52











  • I have a very similar issue, with remarkably similar numbers - ~415 requests and 45s to load the checkout. Server is not the issue and we have all merging and caches enabled, and we use Varnish (although it's probably not active on the checkout page). Did you figure anything out @Rick ?

    – James
    Sep 19 '18 at 12:45

















Have you tried caching, JS AND CSS merge? Please share website URL and server configuration(ram, PHP version, Mysql version).

– kunj
May 28 '18 at 16:37





Have you tried caching, JS AND CSS merge? Please share website URL and server configuration(ram, PHP version, Mysql version).

– kunj
May 28 '18 at 16:37













That doesn't seem to be the problem. The checkout page shows the loading spinner for about 1 to 2 minutes and then loads the checkout form.

– Rick
May 31 '18 at 10:26





That doesn't seem to be the problem. The checkout page shows the loading spinner for about 1 to 2 minutes and then loads the checkout form.

– Rick
May 31 '18 at 10:26













Pleas, provide more details like your website url and which modules are installed for checkout, have you tried after disable one by one?

– kunj
Jun 1 '18 at 3:39





Pleas, provide more details like your website url and which modules are installed for checkout, have you tried after disable one by one?

– kunj
Jun 1 '18 at 3:39













Maybe the screenshot helps @kunj I think the server config is ok. There's only one site running on a pretty good server.

– Rick
Jun 7 '18 at 9:52





Maybe the screenshot helps @kunj I think the server config is ok. There's only one site running on a pretty good server.

– Rick
Jun 7 '18 at 9:52













I have a very similar issue, with remarkably similar numbers - ~415 requests and 45s to load the checkout. Server is not the issue and we have all merging and caches enabled, and we use Varnish (although it's probably not active on the checkout page). Did you figure anything out @Rick ?

– James
Sep 19 '18 at 12:45






I have a very similar issue, with remarkably similar numbers - ~415 requests and 45s to load the checkout. Server is not the issue and we have all merging and caches enabled, and we use Varnish (although it's probably not active on the checkout page). Did you figure anything out @Rick ?

– James
Sep 19 '18 at 12:45











1 Answer
1






active

oldest

votes


















0














I resolved this by switching to production mode, rather than developer or default, as follows:



bin/magento deploy:mode:set production


You can check your current application mode with:



bin/magento deploy:mode:show


The application modes are explained here; in my case the speed improvement with production was the result of it bundling Knockout components. In developer mode the components are all loaded individually as in OP's example, resulting in hundreds of requests.






share|improve this answer























    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
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f227763%2fmagento-2-checkout-page-is-loading-very-slow%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









    0














    I resolved this by switching to production mode, rather than developer or default, as follows:



    bin/magento deploy:mode:set production


    You can check your current application mode with:



    bin/magento deploy:mode:show


    The application modes are explained here; in my case the speed improvement with production was the result of it bundling Knockout components. In developer mode the components are all loaded individually as in OP's example, resulting in hundreds of requests.






    share|improve this answer



























      0














      I resolved this by switching to production mode, rather than developer or default, as follows:



      bin/magento deploy:mode:set production


      You can check your current application mode with:



      bin/magento deploy:mode:show


      The application modes are explained here; in my case the speed improvement with production was the result of it bundling Knockout components. In developer mode the components are all loaded individually as in OP's example, resulting in hundreds of requests.






      share|improve this answer

























        0












        0








        0







        I resolved this by switching to production mode, rather than developer or default, as follows:



        bin/magento deploy:mode:set production


        You can check your current application mode with:



        bin/magento deploy:mode:show


        The application modes are explained here; in my case the speed improvement with production was the result of it bundling Knockout components. In developer mode the components are all loaded individually as in OP's example, resulting in hundreds of requests.






        share|improve this answer













        I resolved this by switching to production mode, rather than developer or default, as follows:



        bin/magento deploy:mode:set production


        You can check your current application mode with:



        bin/magento deploy:mode:show


        The application modes are explained here; in my case the speed improvement with production was the result of it bundling Knockout components. In developer mode the components are all loaded individually as in OP's example, resulting in hundreds of requests.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 19 '18 at 19:45









        JamesJames

        294218




        294218



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f227763%2fmagento-2-checkout-page-is-loading-very-slow%23new-answer', 'question_page');

            );

            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







            Popular posts from this blog

            Disable / Remove link to Product Items in Cart Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How can I limit products that can be bought / added to cart?Remove item from cartHide “Add to Cart” button if specific products are already in cart“Prettifying” the custom options in cart pageCreate link in cart sidebar to view all added items After limit reachedLink products together in checkout/cartHow to Get product from cart and add it againHide action-edit on cart page if simple productRemoving Cart items - ObserverRemove wishlist items when added to cart

            Helsingin valtaus Sisällysluettelo Taustaa | Yleistä sotatoimista | Osapuolet | Taistelut Helsingin ympäristössä | Punaisten antautumissuunnitelma | Taistelujen kulku Helsingissä | Valtauksen jälkeen | Tappiot | Muistaminen | Kirjallisuutta | Lähteet | Aiheesta muualla | NavigointivalikkoTeoksen verkkoversioTeoksen verkkoversioGoogle BooksSisällissota Helsingissä päättyi tasan 95 vuotta sittenSaksalaisten ylivoima jyräsi punaisen HelsinginSuomalaiset kuvaavat sotien jälkiä kaupungeissa – katso kuvat ja tarinat tutuilta kulmiltaHelsingin valtaus 90 vuotta sittenSaksalaiset valtasivat HelsinginHyökkäys HelsinkiinHelsingin valtaus 12.–13.4. 1918Saksalaiset käyttivät ihmiskilpiä Helsingin valtauksessa 1918Teoksen verkkoversioTeoksen verkkoversioSaksalaiset hyökkäävät Etelä-SuomeenTaistelut LeppävaarassaSotilaat ja taistelutLeppävaara 1918 huhtikuussa. KapinatarinaHelsingin taistelut 1918Saksalaisten voitonparaati HelsingissäHelsingin valtausta juhlittiinSaksalaisten Helsinki vuonna 1918Helsingin taistelussa kaatuneet valkokaartilaisetHelsinkiin haudatut taisteluissa kaatuneet punaiset12.4.1918 Helsingin valtauksessa saksalaiset apujoukot vapauttavat kaupunginVapaussodan muistomerkkejä Helsingissä ja pääkaupunkiseudullaCrescendo / Vuoden 1918 Kansalaissodan uhrien muistomerkkim

            Adjektiivitarina Tarinan tekeminen | Esimerkki: ennen | Esimerkki: jälkeen | Navigointivalikko