Troubleshooting guide
Why is my website slow? A step-by-step diagnosis
"The site is slow" can mean a slow server, heavy pages, blocking scripts or slow clicks. Diagnose in order, with data, and fix the biggest bottleneck first.
4 min read11 sectionsUpdated
On this page
Key points
- Start with real-user data to learn which pages, devices and countries are slow.
- Split the load into phases: server (TTFB), loading (LCP), stability (CLS) and responsiveness (INP).
- The slowest phase tells you where to look: server, assets, or JavaScript.
- Re-measure after each fix, at the 75th percentile.
Step 1: Measure what users experience
Lab tests on your laptop are not what visitors get. Real user monitoring (RUM) shows Core Web Vitals and TTFB for every page view, by page, device and country. Look for:
- Which pages are slow: one template, or the whole site?
- Which devices: mobile is usually 2 to 3 times slower than desktop.
- Which countries: far from your servers means high TTFB.
- Since when: did it start with a release?
| Phase | Metric | Good | If slow, look at |
|---|---|---|---|
| Server response | TTFB | ≤ 0.8 s | Backend, database, caching, distance |
| First paint | FCP | ≤ 1.8 s | Render-blocking CSS and JS |
| Main content | LCP | ≤ 2.5 s | Hero image, fonts, client-side rendering |
| Stability | CLS | ≤ 0.1 | Images without size, ads, injected content |
| Responsiveness | INP | ≤ 200 ms | Long JavaScript tasks, heavy handlers |
Step 3: If the server is slow
High TTFB on uncached pages means the backend needs attention. APM traces show where the time goes: a slow database query, an N+1 pattern, a slow external API or too little capacity. Follow how to reduce TTFB and how to find slow database queries.
Step 4: If loading is slow
When TTFB is fine but LCP is not, the browser is waiting on resources: large images, fonts, CSS and JavaScript. Follow how to improve LCP and the image optimisation checklist.
Step 5: If clicks feel slow
Good LCP with poor INP means the page looks ready but the main thread is busy. Too much JavaScript, heavy third-party tags and expensive event handlers are typical. See how to improve INP and Total Blocking Time.
Step 6: Keep it fast
- Track the 75th percentile of each vital per page over time, with deploy markers.
- Alert on regressions, such as LCP on the home page going above 3 s for a day.
- Check performance budgets in CI for bundle size.
VitalRix real user monitoring shows LCP, INP and CLS by page and device from real visitors, APM explains slow server responses, and the free LCP and INP checks test a single page in a real Chrome browser.
Is my hosting the reason my website is slow?
Sometimes. If TTFB is high even for simple cached pages, the server or its distance from users is a factor. If TTFB is fine, the slowness is in the page itself.
Why is the site fast for me but slow for customers?
You likely have a fast device, a good connection, warm caches and live close to the server. Real-user data shows the experience of your actual audience.
Check it now, free
- Response time checker: Measure TTFB with DNS, connect, TLS and server time.
Related reading
- Next.js performance monitoring: Monitor Next.js apps end to end: Core Web Vitals from real users, server rendering and route handler latency with OpenTelemetry, caching behaviour and errors.
- WordPress monitoring: uptime, speed and errors: Monitor a WordPress site: uptime with content checks, login and admin, Core Web Vitals, PHP errors, plugin updates, SSL expiry and backups.
- MongoDB monitoring: metrics that matter: Monitor MongoDB: operation rates and latency, slow queries from the profiler, WiredTiger cache, connections, replication lag and oplog window.
- MySQL monitoring: key metrics and alerts: Monitor MySQL: connections and threads, query throughput, slow queries, InnoDB buffer pool, replication lag and disk, with the SQL for each check.
- Redis latency spikes: how to diagnose and fix them: Diagnose Redis latency spikes: find slow commands with SLOWLOG, big keys, fork pauses from persistence, swapping and network delay, using built-in tools.
- Monitoring for government and public services: Monitor public service websites and portals: availability during deadlines, accessibility and performance on slow devices, status pages for citizens.
Watch your own site and services with VitalRix
Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.