I’ve been trying to dig into this issue for a few days. We have what I think is a pretty well-optimized WooCommerce store. High pagespeed/GTMetrix scores and the perceiptible load time of basically ANY page on the site is virtually instant. It feels great. User account pages, add to cart, also fast.
However, going to the checkout page is literally 10x slower. If I try to stopwatch the page load time of, say, a product page, I can’t even hit ‘start’ and ‘stop’ fast enough before the page loads, whereas the checkout page takes 5-8 seconds to load.
We’re not using any checkout modifying plugins, and just WooPayments and PayPal for payment methods. No shipping logic, no calculations, no weird large chunks of HTML. We’re on the Enterprise 1 plan on [Rocket.net](https://Rocket.net) and it also has nothing to do with load, as we get the same problem on staging which has no load.
I’ve tried to dig in with Code Profiler Pro and the results make no sense to me. For example according to CPP, a call to convert the current date/time are taking 190ms and WooCommerce native execution is multiple seconds. That can’t possibly be right. My next step is installing New Relic, but I’m hoping that someone else has found some obvious cause of extremely slow checkout load times…
Thanks in advance!
[ad_2]
Have you tried running it locally with all caching turned off?
The checkout page is the when a lot of ‘just in time’ checks are performed on the database (for example, is this product still available), because of this, it’s one of the few ‘un-cacheable’ pages on an exommerce site. This would make sense that it is slower but I would like to see it running locally to test the theory.