Guides › Shopify & WooCommerce › Speed & performance

WooCommerce Checkout Slow: Payment Gateway Scripts and Database

Find the bottleneck.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Slow website

A slow checkout loses sales. The usual causes are slow payment scripts, heavy plugins, a busy database or caching problems.

1Measure it2Check gateway scripts3Check plugins4Clean the database5Check hosting resources6Cache correctly7Test againFixed? Test the site. If not, get help.
The steps in order. Work down the list and stop when the problem is solved.

Step 1: Measure it

Illustration for Step 1: Measure it

Open checkout, press F12, open Network and reload. Sort by time and find the slowest requests.

Step 2: Check gateway scripts

Illustration for Step 2: Check gateway scripts

Each enabled payment method loads scripts. Disable methods you do not use.

Step 3: Check plugins

Illustration for Step 3: Check plugins

Install Query Monitor and look for slow queries and plugins on the checkout page.

Step 4: Clean the database

Illustration for Step 4: Clean the database

Remove expired transients, old sessions and large logs.

Step 5: Check hosting resources

Illustration for Step 5: Check hosting resources

CPU, memory and PHP workers limit checkout speed. Look at your host's usage graphs.

Step 6: Cache correctly

Illustration for Step 6: Cache correctly

Cache all pages except cart, checkout and My Account.

Step 7: Test again

Illustration for Step 7: Test again

Time a full checkout before and after.

Still stuck?

If these steps do not solve it, we fix it for you for a flat $99. Full refund if we do not solve it within 7 days.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-22.