A slow web application: where the seconds go, and how to get them back
Dashboards, client portals, reports and admin panels slow down as the data grows. The cause usually sits in one of two places: the server takes seconds to answer, or the screen loads too much before it shows anything. We measure both, fix the bigger cause first and prove it with numbers.
- Where we start
- Measure the server and the page
- Proof
- The same test before and after
- Our own sites
- Lighthouse 90+ on every deploy
What usually goes wrong, and our fix
ProblemScreens wait seconds for the server before anything appears.
Profiling and slow-query logs show which request is to blame, and we fix that one first.
ProblemDashboards and reports get slower every month as the data grows.
We find the query that recalculates everything on every view and let the database read a stored result instead.
ProblemThe app slows down exactly when the most people use it.
We recreate the peak with a load test first, so the fix targets the real limit, not a guess.
ProblemScreens download megabytes of data and scripts before they respond.
Lighter API responses, pagination, and scripts split so each screen loads only what it needs.
ProblemEvery release risks making the app slow again.
A check on every deploy that stops a release when speed drops below the target.
Server or page? A five-minute check
The first diagnosis doesn’t need us. All it takes is a free Google tool and the screen your users open most.
- Open PageSpeed Insights, paste the address and choose Mobile. For a screen behind a login, use the Lighthouse tab in Chrome DevTools instead: PageSpeed Insights only sees public pages. Our free site check runs the same test for you.
- Read the field data first, if the page has it: that is what real visitors got over the last 28 days. Lab scores change from run to run.
- Compare the three Core Web Vitals with Google’s thresholds. A page passes when at least three visits out of four are in the green.
- Look at Time to First Byte. If it is in the red, start with the server and the database. If it is green and the screen is still slow, start with the page itself.
Google’s thresholds for a fast page
LCPwhen the main content appears
Goodup to 2.5 sNeeds work2.5–4 sPoorover 4 s
INPhow fast the page reacts to a tap or click
Goodup to 200 msNeeds work200–500 msPoorover 500 ms
CLShow much the layout jumps while loading
Goodup to 0.1Needs work0.1–0.25Poorover 0.25
TTFBhow long the server takes to answer; not a Core Web Vital, but it shows where to look
Goodup to 0.8 sNeeds work0.8–1.8 sPoorover 1.8 s
Each number is taken at the 75th percentile of visits, for phones and computers separately.
Source: web.dev, Core Web Vitals and Time to First Byte.
Two slow screens that need different fixes
A load looks like a queue: the server answers, then the browser fetches styles, fonts, images and scripts. Where the queue is longest tells you what to fix.
The server is slow
- Server answers
- HTML
- Styles and fonts
- Main image
- Scripts
- Server
- Page
- Main content appears
Most of the wait passes before the first byte arrives. Fix queries, caches and the server first; a lighter page won’t help much.
The page is too heavy
- Server answers
- HTML
- Styles and fonts
- Main image
- Scripts
- Server
- Page
- Main content appears
The server answers quickly, but the screen downloads too much before it shows the main content. Lighten the page first.
Schematic, not a measurement: the bars show the shape of each problem, not real timings.
Four steps from slow to fast
- 01
Measure
Real numbers first: server response times, slow queries, page weight and Lighthouse on a phone.
- 02
Fix the biggest cause
Usually it is the server or the database. A cache can hide a slow query, so we fix the query first.
- 03
Lighten the screen
Images, data, fonts and scripts: each screen loads only what it needs to show first.
- 04
Prove it and keep it
Load tests before and after, and a speed check on every release, so the result doesn’t wear off.
What we have built
- A major non-profit foundation: public donation reports that summed millions of rows on every view now read ready-made totals, proven by k6 load tests.
- AM Tech: a B2B catalogue that stays fast as it grows, thanks to caching and background rebuilds of heavy data.
- DrawHome.com: 3D models compressed for the web, so heavy scenes open on ordinary laptops and phones.
- Dura: our own HLS video server, so project videos start quickly on any connection.
- rost.company and rosshoncharuk.com: sites in five languages with a deploy gate that blocks any release scoring below 90 in Lighthouse.
Non-profit foundation: donation reports, before and after
Ten times faster before the cache. With the cache, the average response of the report API fell from 1.9 s to 0.71 ms (k6, 20 virtual users).
From the non-profit foundation case study.
Cases
-
A major non-profit foundation: donation reports thousands of times faster
A major non-profit foundation publishes its donation reports openly. We made its public report pages fast and proved it with load tests.
1.9 s → 0.71 ms with cache -
AM Tech: one store for dealers, workshops and retail buyers
A partner of Automehanica sells parts and consumables for car-service stations. We rebuilt its store from scratch on our platform: every order is synced with the accounting system, each dealer sees their own prices while retail buyers see retail ones, search is smart, and the admin panel works even for managers with no training.
Dealer + retail prices -
Dura: premium garage furniture, sold as finished projects
A website for an importer of premium garage furniture from England: a gallery of finished garages, videos that start fast on any connection and an admin panel the team runs on its own.
Video that starts fast -
DrawHome.com: an AI-powered 3D home planner in the browser
Upload a floor-plan image and get an editable 3D house. Homeowners and designers plan multi-storey buildings without learning CAD.
6,000+ commits since 2024 -
rost.company: a company site in five languages, built with AI in three days
We rebuilt our own website the way we now build for clients: an experienced architect sets the bar, an AI coding assistant does the typing, and automated checks decide what goes live. Then we kept improving it.
5 languages in 3 days
Technologies behind it
Features we’ve shipped
ProblemEvery page view summed millions of rows, so pages loaded in seconds.
Reports read from ready totals, not recalculated
Non-profit foundationProblemReport pages slow down exactly when most people are watching.
Public reports that hold up during peaks
Non-profit foundationProblemThere was no proof that changes actually help.
Load tests that prove the speed-up
Non-profit foundationProblemPages slow down as the catalogue grows.
A catalogue that stays fast as it grows
AM TechProblemHeavy project videos load slowly and stall on phones.
Videos that start fast on any connection
DuraProblemHeavy 3D models make pages slow, especially on phones.
3D model compression for fast loading
DrawHome.comProblemAny release can quietly break pages, speed or accessibility.
Deploy gate that blocks broken releases
rost.company
Questions and answers
Is it the server or the page?
We measure before we guess. If the first byte takes seconds, it is the server or the database; if the server is quick but the screen is heavy, it is images, data, fonts and scripts. Often it is both, and we start with the bigger one.
Will a CDN or a cache fix it?
Sometimes it only hides the problem. A slow query stays slow behind a cache and comes back the moment the cache misses, so we fix the cause first and add caching after it.
Can you test screens behind a login?
Yes. PageSpeed Insights only sees public pages, so for dashboards and portals we measure in the browser with a test account and load-test the API that the screens call.
Do we have to rebuild the app?
Usually not. Most speed problems are fixed inside the existing system. A rebuild makes sense only when the platform itself is the limit, as with the heavy WordPress admin we replaced for PeakLoad.
Do Core Web Vitals affect Google rankings?
They are part of how Google judges page experience, but useful content matters more. For screens behind a login they don’t matter for search at all; there, speed is about the people who use the app every day.
How do you prove it’s faster?
With the same measurements before and after: load tests such as k6 on the same data for the server, and Lighthouse on a phone for the page.



