What Sub-Second Page Loads Actually Do for a Business with 150,000 Customers

A page that takes six seconds is rarely a front-end problem. Ashok Apati's argument is that the delay is almost always somewhere further back, in a chain of systems the browser never sees.

A customer clicks something and waits six seconds. The obvious suspect is the page. It is rarely the page.

What the customer experiences as one page load is, in a large enterprise, a relay. The request leaves the interface and travels through application logic, an identity service, a set of APIs, a commerce platform, an ERP system, a payment service, and whatever else sits in the path, and each leg adds time. The browser is the last link in that chain and usually the least guilty.

Ashok Apati works inside that chain. He works on enterprise digital platforms at a global consumer brand, on applications and integrations where response time is a business variable rather than a benchmark, and his flat position is that most performance work is aimed at the wrong layer.

“Performance problems in enterprise applications are usually architectural before they are purely front-end problems,” he says. “The breakthrough often comes from understanding the entire transaction path and eliminating latency where it actually occurs rather than simply making the visible page render faster.”

His own project started with numbers nobody could defend. Important customer-facing pages were taking five to seven seconds. A customer-registration process was taking more than 1.8 seconds in backend processing alone, before anything was rendered.

The hard part was not fixing it. The hard part was finding it. A single customer interaction could cross application logic, a CRM platform, multiple APIs, integration services, identity, ERP and payments, which means the latency could be almost anywhere, and the one place it demonstrably was not was the part everybody looks at first. He worked the problem as an end-to-end transaction path: analysed the complete request, found the high-latency processing and the operations that did not need to happen at all, rewrote application and integration logic, and then validated the result across the whole customer journey rather than at the page.

Those pages now load in under a second. The registration process went from more than 1.8 seconds to roughly 0.8, which he puts at about a 55 percent reduction in processing time. Part of that work was a move toward Lightning Web Components in the registration platform, alongside changes to the underlying application architecture.

It was not allowed to cost anything else. In a production environment carrying real customer transactions, he notes, performance cannot be bought at the expense of accuracy, security, reliability or availability, which meant controlled testing, regression validation, deployment planning, monitoring and a stabilisation period around every change. Performance work that breaks a payment is not performance work.

Why any of this matters beyond engineering pride is arithmetic. The platform serves more than 150,000 active customers, and a second saved once is nothing while a second saved at that frequency is a different category of thing. “Milliseconds become a business-scale issue when multiplied across thousands of customers and transactions,” he says. It changes how long staff wait on internal screens, how many transactions complete rather than stall, and how much headroom the platform has before it needs more capacity.

Which leads to his objection to how the field keeps score. “Performance improvements should not be evaluated only in milliseconds,” he argues. “They should be evaluated by how many customers, transactions, and business processes benefit from those milliseconds.” A dashboard reporting a 200-millisecond gain on a page nobody uses is reporting nothing. The same gain on a registration flow every new customer passes through is a different result entirely, and most performance reporting cannot tell the two apart.

His practical advice follows from that. Optimise the business-critical journeys first, because registration, ordering, checkout and payment carry the volume and therefore the value. Set response-time targets in the architecture rather than discovering them in production, monitor the critical journeys continuously, and treat a performance regression as a defect that blocks a release rather than something to be investigated later.

His favourite technical move is the least visible one. A great deal of what makes enterprise pages slow is backend work happening while the customer waits, for no reason other than that it was written that way. “Not every backend activity needs to delay the customer response,” he says. Moving that work to asynchronous processing where the business process allows it improves responsiveness and, he argues, resilience at the same time, because a slow downstream system stops being able to hold up the customer’s experience.

He thinks that decision is about to get harder. As AI services arrive inside enterprise applications, each one introduces a call with latency attached and a question about whether the customer should be made to wait for it. Organisations will have to decide deliberately which AI interactions belong in the synchronous path and which can run behind it, and the ones that do not decide will find out from their response times.

The summary he offers is almost dismissive of his own discipline. Customers experience the entire technology stack as a single product, so the only sensible unit of measurement is the complete customer transaction path. Treating performance as a front-end responsibility, he argues, is how organisations spend a year optimising the last link in a chain of nine.

Author:
Written byTom Allen

Founder of The AI Journal. I like to write about AI and emerging technologies to inform people how they are changing our world for the better.

Follow Tom Allen