Skip to content

OpenCart

Why Is My OpenCart Store Slow? 10 Fixes That Work

The most common reasons OpenCart stores load slowly, and ten practical fixes, from images and extensions to the database and hosting.

By Hit Infotech Team 3 min read

Why Is My OpenCart Store Slow? 10 Fixes That Work

A slow store loses sales: shoppers leave before the page loads, and Google uses page experience as one of its signals. The good news is that most OpenCart speed problems come from a short list of causes. Here are the ten we fix most often, roughly in the order we check them.

First, measure

Test a category page, a product page and the checkout with Google PageSpeed Insights, and note the Core Web Vitals: Largest Contentful Paint (LCP), Interaction to Next Paint (INP) and Cumulative Layout Shift (CLS). Measure again after each change, so you know what actually helped.

10 fixes for a faster OpenCart store

  1. Turn off the category product count. When the option that shows the number of products next to each category is on, OpenCart counts products on every page load. On large catalogues this alone can slow every page.
  2. Resize and compress images. Upload images close to the size they are shown, compress them, and serve modern formats such as WebP where your theme supports it.
  3. Remove extensions you do not use. Every module, event and modification adds work to each request. Disable and uninstall what you do not need.
  4. Slim down the theme. Large sliders, several font files and dozens of JavaScript files block rendering. Load scripts with defer and remove what is not used.
  5. Run a current PHP version with OPcache enabled. Newer PHP versions are noticeably faster than old ones, and OPcache avoids compiling the same code on every request.
  6. Use caching. Cache data that rarely changes and consider a full-page cache for guests. Clear the cache after changing products or settings.
  7. Fix slow database queries. Large stores often have queries that scan whole tables. Find them with the slow query log and add the right indexes.
  8. Keep tables tidy. Session, cart and log tables can grow very large over the years. Clean out expired data regularly.
  9. Check your hosting. Shared hosting with little CPU or slow disks limits how fast any store can be. HTTP/2 or HTTP/3, compression and a CDN for images help too.
  10. Lazy-load images below the fold, so the browser only downloads what the shopper can see first.

Do not chase a perfect PageSpeed score. Hosting, theme and third-party scripts (chat widgets, trackers) all affect it. Aim for good Core Web Vitals and a store that feels fast to real shoppers.

When to get help

If the easy fixes are done and the store is still slow, the cause is usually in the database, a heavy extension or the theme code. Those need someone who works in OpenCart's core every day. We have been an official OpenCart Partner (Gold) since 2016, publish the Speed Up extension on the OpenCart Marketplace, and deliver speed work with a before and after report.

Need help with this?

OpenCart speed optimisation

See the service

FAQ

Frequently asked questions

No honest developer can promise a number for every store, because hosting, theme and third-party scripts matter. After looking at your store we can give you a realistic target and a before and after report.

Have a store or app that needs work?

Send us your URL or idea. We take a first look for free and reply with what we would do and what it would cost.