Skip to content

Mahina: 200,000+ products and a slow site. We fixed it, with before-and-after numbers.

Mahina is a direct importer of auto parts for Chinese cars: Chery, Geely, Great Wall, BYD and others. A catalog of over 200,000 items and a site that lagged and crashed under load. We ran a technical audit and optimized it end to end: the database, performance, the product page, the catalog, and analytics.

200,000+

parts in the catalog

2006

on the auto-parts market

2014

online sales took off

≈2×

less database load

Mahina.in.ua online store: car brands menu and search

The site lagged and crashed under load

A slow site rarely has a single cause. We started not with the code but with a technical audit, to find exactly what was slowing it down and fix the cause, not the symptom.

Audit · what was slowing the site down

  • Lags and crashes under load due to excessive database queries
  • City search at checkout: 3 seconds per character, shoppers just closed the page
  • A 1 to 2 second delay when adding a product to the cart
  • A slow catalog and product page, the key funnel pages
  • No analytics on shopper behavior, decisions made blind

We took the excess load off the server

The main cause of crashes under load was excessive database queries on every page open. We rewrote the logic and removed the duplication. SQL queries per page open:

Home page: 524 queries

289 queries, almost halved

Filter page: 2,174 queries

964 queries, more than halved

Fewer database queries on every page open means less load on the server, stability during peak hours, and a faster site.

From the database to the interface and analytics

Technical audit: we found the bottlenecks

We found critical problems: an unoptimized SQL query with no indexes made city search run for 3 seconds per character and brought the server down; a 1 to 2 second delay when adding a product to the cart; caching issues. The audit became a map of tasks we then closed one by one.

Database optimization: load dropped almost twofold

The site was running excessive cyclic database queries, redundant repeated operations on every page open. We rewrote the query logic and removed the duplication: less load, stability at peak, faster pages.

Product page: faster and easier

Performance: faster loading, a smaller page thanks to image optimization and trimmed JS and CSS, better Core Web Vitals and search visibility. Code: a cleaner implementation with less risk when adding features. UX: a handier gallery, a clear price block and “Buy” button, availability and delivery, updated reviews and questions, correct behavior on mobile.

Catalog: holds up under load and converts

Product listings, filters, sorting, and pagination open faster even across hundreds of thousands of products, the database load is lower, and the site stays stable at peak. More structured filtering logic lets the catalog grow, with more products and new filters, without losing speed.

GA4 analytics: the shopper’s path is visible

We set up tracking for the five core GA4 e-commerce events: product view, add to cart, cart view, begin checkout, purchase. The whole journey from viewing a product to buying is visible, and it’s clear at which stage people drop off.

Optimization was only the first stage: we stayed on as Mahina’s technology partner.

We keep developing the site, closing new tasks big and small.

Ongoing since 2025

First we figure out what exactly is slow, and only then touch the code

We find what’s eating the speed and overloading the server, and we fix the cause, not the symptom, with a measurable before and after.

Everything you see on mahina.in.ua is the result of our optimization. Go and see for yourself.

Download the case study (PDF, 0.8 MB)

Related pages

Is your site losing customers to slow performance?

A slow site rarely has a single cause, so we work end to end: removing excessive database queries, heavy code, and slow key pages, and setting up analytics. We’ll run a technical audit and show you exactly what’s slowing it down, with a plan to fix it.

Let’s discuss your project.