In this article
Tomorrow is Black Friday. You’ve prepared offers, a newsletter and ads. And the big fear: what if the e-shop slows down or crashes exactly when the customers arrive?
That’s completely fair. A customer waiting for the cart or checkout to open won’t wait long. They go to another shop with the same offer. Worse still, it happens on the day you have the most buyers.
Let’s look at why an e-shop gets slow, mostly on WooCommerce, and what you can still fix now.
Why an e-shop is slower than a simple site
On a simple site, pages are the same for everyone and are easily served from cache. In an e-shop, the cart, checkout and account pages are different for each customer. These pages are not cached, and every request takes up a PHP worker on the server.
When all workers are busy, the next requests wait in a queue. If the queue grows, the server responds with an error, often 504 Gateway Timeout. That’s why an e-shop can run fine all year and “hang” only at peak time. Check with our tool how many visitors your e-shop can handle.
1. The server and its resources
A small shared plan has few workers and limited memory. An e-shop with real traffic needs resources sized for the peak, not for a quiet Tuesday. Use a modern PHP version (8.3 or newer, as long as your plugins support it) and NVMe disks.
2. The right caching, not everywhere
- Page cache for categories, products and posts, so most traffic is served from memory and workers stay free for carts.
- Exclusions for cart, checkout and “my account”. If they get cached, you’ll see wrong carts or lost orders.
- Object cache (e.g. Redis), so the same queries don’t keep hitting the database.
3. The database
E-shops build up volume quickly: orders, sessions, expired transients, thousands of pending or completed tasks in the Action Scheduler (WooCommerce → Status → Scheduled Actions). If your shop is older, check whether it uses HPOS (High-Performance Order Storage), which stores orders in their own tables and is the default for new stores. Switch only after a backup and a plugin compatibility check, not on the eve of Black Friday.
4. Product images and filters
Product photos are usually the heaviest part of every page. Convert them to WebP or AVIF and upload them at the size they are displayed. Filter and search plugins can put a heavy load on the database in large catalogues. If a category page with filters is slow, look there.
5. External scripts
Ad pixels, chat, review widgets, popups. Each one adds delay, especially on mobile. Keep only what you use and load them only on the pages that need them.
What to do before tomorrow
- Take a full backup today and make sure it restores.
- Freeze changes. No new plugins, no big updates on the eve. If something breaks, it will break at the worst moment.
- Place a test order from a phone: cart, coupon, payment, confirmation email.
- Check your payment provider and that order emails don’t land in spam. See why order confirmation emails go to spam.
- Set up uptime monitoring, so you are the first to know if something goes down.
For the general reasons a site gets slow, see also Why is my website so slow?.
Want your e-shop to handle the peak?
An e-shop doesn’t just need “fast hosting”. It needs infrastructure built for WooCommerce and someone looking after it.
At SmartHost we set up VPS and WordPress hosting for e-shops with caching that understands the cart, object cache for the database and resources for the peak, and with our WordPress maintenance we check cart and checkout after every update. You focus on sales and sleep peacefully.
Is your e-shop slow? Get in touch with us at info@smarthost.gr or +30 210 569 8010, or learn more at smarthost.gr.
