
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
- 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.
- 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.
- Remove extensions you do not use. Every module, event and modification adds work to each request. Disable and uninstall what you do not need.
- 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.
- 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.
- Use caching. Cache data that rarely changes and consider a full-page cache for guests. Clear the cache after changing products or settings.
- 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.
- Keep tables tidy. Session, cart and log tables can grow very large over the years. Clean out expired data regularly.
- 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.
- 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



