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

Critique of timeline aesthetic

How to pronounce 'C++' in Spanish

Why do games have consumables?

How to type a section sign (§) into the Minecraft client

Why does processed meat contain preservatives, while canned fish needs not?

How to solve constants out of the internal energy equation?

How can the Zone of Truth spell be defeated without the caster knowing?

Please, smoke with good manners

Why other Westeros houses don't use wildfire?

What is the strongest case that can be made in favour of the UK regaining some control over fishing policy after Brexit?

Which big number is bigger?

What route did the Hindenburg take when traveling from Germany to the U.S.?

How to reduce LED flash rate (frequency)

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

What makes accurate emulation of old systems a difficult task?

How could Tony Stark make this in Endgame?

A Strange Latex Symbol

Why is it that the natural deduction method can't test for invalidity?

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

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

What do the phrase "Reeyan's seacrest" and the word "fraggle" mean in a sketch?

Do I have an "anti-research" personality?

How to creep the reader out with what seems like a normal person?

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



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 9 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 9 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 9 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 9 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

            Magento 2 duplicate PHPSESSID cookie when using session_start() in custom php scriptMagento 2: User cant logged in into to account page, no error showing!Magento duplicate on subdomainGrabbing storeview from cookie (after using language selector)How do I run php custom script on magento2Magento 2: Include PHP script in headerSession lock after using Cm_RedisSessionscript php to update stockMagento set cookie popupMagento 2 session id cookie - where to find it?How to import Configurable product from csv with custom attributes using php scriptMagento 2 run custom PHP script

            Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

            How to solve knockout JS error in Magento 2 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?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2