On this page
What this issue is
TTFB (time to first byte) is the time between a browser asking for a page and receiving the first byte of the reply. It covers the network, any redirects, and the time your server spends building the page. A page timeout is the extreme case: the server does not answer within the limit and the browser or a proxy gives up.
Why it costs you leads or sales
Nothing can render until the first byte arrives. Everything else on the page, including your form, button and tracking tags, waits behind it. Visitors from paid ads are the least patient, and you pay for each click that bounces. If the page times out, the click is wasted and no analytics or ad tag ever fires, so you may not see the loss in your reports.
- Ad clickVisitor requests the landing page
- Server responseFirst byte takes many seconds or times out
- Page rendersForm and tags never load for many visitors
- Lead or saleVisitor has already left
The server stalls on the first request, so every later step is lost.
Example: illustrative numbers only, showing how fewer visitors stay as the first byte gets slower.
How to check if your site has it
Time it from the command line
Run the command below a few times, at different times of day. Look at time_starttransfer. Around 0.8 s or less is a sensible target for a cached landing page; several seconds is a problem.
Test the exact ad URL
Use the full URL with UTMs and gclid, not just the homepage. Query strings can bypass the cache.
Check the browserChrome
In Chrome DevTools, open the Network tab, reload, click the first request and read 'Waiting for server response' under Timing.
Test from another region
A server in the EU may be fast for you and slow for US visitors. Use a speed test that lets you pick a location.
curl -o /dev/null -s -w 'dns: %{time_namelookup}s
connect: %{time_connect}s
tls: %{time_appconnect}s
TTFB: %{time_starttransfer}s
total: %{time_total}s
redirects: %{num_redirects}
' -L 'https://example.com/landing?utm_source=test'How to fix it
First find where the time goes. If connect and TLS are slow, look at DNS, the host's network or the CDN. If only TTFB is slow, the server is slow to build the page. Then work through the usual causes below.
| Cause | Sign | First fix |
|---|---|---|
| No page cache | Fast on repeat, slow after cache clears or with query strings | Turn on full-page caching |
| Slow database or heavy plugins | Slow even when idle | Disable plugins one by one, optimise queries |
| Overloaded or cheap hosting | Slow at busy times | Upgrade the plan or move host |
| Redirect chain | num_redirects is 2 or more | Link straight to the final URL |
| Slow third-party call on the server | Page waits on an API | Cache the result or load it after the page |
| Far-away server, no CDN | Fast near the host, slow elsewhere | Add a CDN with page caching |
Turn on page caching
Use your host's built-in cache or a caching plugin, and make sure landing pages are not excluded.
Find slow plugins
Install Query Monitor, load the page and check slow queries and which plugin runs them. Disable suspects on a staging copy.
Check PHP version and object cache
Use a supported, current PHP version. If your host offers Redis or Memcached object caching, enable it.
Ignore tracking parameters in the cache
Make sure URLs with utm_ and gclid parameters are served from the cache, not rebuilt each time. Ask your host or cache plugin docs how.
Remove slow apps and theme code
Shopify hosts the server, so slow responses usually come from heavy theme Liquid or apps. Disable recently added apps and re-test.
Check Shopify's status
Look at shopifystatus.com in case the platform itself is degraded.
Fix redirects and proxies
If a domain redirect or a third-party proxy sits in front of the store, remove extra hops.
Check hosting and redirects
Webflow serves pages from a CDN, so slow first bytes often come from a proxy or redirect in front of it. Remove extra hops.
Reduce heavy CMS pages
Pages with very large collection lists can be slower to build. Limit items per list.
Simplify the funnel page
Remove unused custom code and large embeds from the page and test again.
Check custom domain setup
Confirm DNS points to the recommended records and there is no extra redirect or proxy in front.
Contact support with timings
Send the curl timings and times of day so the platform can check its side.
Remove heavy apps and dynamic content
Disable recently added apps and large dynamic pages, then re-test.
Check domain connection
Make sure the domain is connected directly and not through a chain of redirects.
Remove extra redirects
Check Settings > Developer Tools > URL Mappings for chains, and link ads to the final URL.
Trim custom code
Remove code injections that call slow third-party services.
Profile the request
Use your framework's profiler or server logs to find the slow query, API call or template.
Add caching
Cache full pages or fragments, add missing database indexes, and set sensible timeouts on outbound API calls.
Check server resources
Look at CPU, memory and worker limits (PHP-FPM, Node processes). Raise them or scale out if they are maxed at busy times.
How to confirm it's fixed
- curl TTFB is consistently under about 1 second on the real ad URL
- The result holds across several runs and different times of day
- num_redirects is 0 or 1
- The page is fast from both EU and US locations
- The form, button and tracking tags load and work
- No timeouts in server or host logs after the change
Slow first byte
- Cache bypassed by query strings
- Two redirects before the page
- Page builds from scratch each request
- Visitors leave before it renders
Fast first byte
- Landing page served from cache
- Ads link straight to the final URL
- Short, steady response times
- Form and tags load for every visitor
How to prevent it happening again
- Re-measure TTFB after every plugin, app, theme or hosting change
- Warn your host before big campaigns and check capacity
- Keep ad URLs pointing to the final page, with no redirect chain
- Use a CDN or page cache for landing pages
- Keep timeouts on outbound API calls short
- Monitor the page on a schedule, not only when someone complains
Day 1
A new plugin is installed. Pages still load for you.
Day 3
The cache clears and the first byte now takes several seconds.
Day 4
An ad campaign sends more traffic and some requests time out.
Day 6
Someone notices fewer leads. Cause found and fixed.
Example timeline, for illustration only.
How FunnelGuard handles this
FunnelGuard detects this today. A robot visitor runs your real customer journey on a schedule from the EU or the US and records the time to first byte for each step. It also applies a timeout to each step, so a page that stalls or never answers is flagged as a failure.
A failure is re-checked from a second region before one alert goes out, which helps filter one-off blips. The alert (email, Slack, Teams, WhatsApp, webhook or PagerDuty) includes a screenshot and a likely cause. Test traffic is marked with utm_source=funnelguard and fg_test=1, so you can tell it apart from real visitors.
Questions people ask
Why is my website taking so long to start loading?
A long wait before anything appears usually means a slow time to first byte. Common causes are no page cache, a slow database or heavy plugins, an overloaded host, or a chain of redirects. Measure it with curl or Chrome DevTools to see where the time goes.
What is a good TTFB for a landing page?
For a cached landing page, aim for under about 0.8 to 1 second. Several seconds is a problem, especially for paid traffic. Test the exact ad URL from more than one region.
How do I check my TTFB?
Run curl with the time_starttransfer variable, or open Chrome DevTools, go to the Network tab and read 'Waiting for server response' for the first request. Repeat at different times of day, because results can vary.
Why is my page fast for me but slow for visitors?
You may be seeing a cached copy, or you may be near the server. Visitors arriving with UTM or gclid parameters can bypass the cache, and visitors far away can face longer network delays. Test the full ad URL from other regions.
Why does my page time out only sometimes?
Intermittent timeouts often come from traffic spikes, cache clears, limited server workers or a slow third-party call. Check host logs and resource usage at the times it failed.
Will a CDN fix slow first byte?
A CDN with full-page caching can help a lot for pages that are the same for every visitor. It will not fix a slow server for pages that cannot be cached, so you still need to fix the underlying slowness.
How can I be alerted when my landing page gets slow?
Use monitoring that runs your real page on a schedule and records response times. FunnelGuard checks time to first byte and step timeouts, re-checks failures from a second region and sends one alert with a screenshot and a likely cause.
Related issues
- OPS-003Landing page returns 5xx (500/502/503/504)Fix guide
- OPS-004Intermittent 5xx under load (fails some runs only)Fix guide
- OPS-001Whole site down (connection refused / no response)Fix guide
- OPS-006Site down only in one region or countryFix guide
- OPS-008Outage between scheduled runs (short downtime missed)Fix guide
- OPS-014API endpoint behind the form returns errorsFix guide