On this page
What this issue is
TTFB is the time between a browser asking for a page and receiving the first byte of the reply. On a healthy site it is steady. With this issue it is usually fine, then jumps for a few minutes or an hour, then recovers.
The pattern often repeats. Common causes are scheduled tasks (WordPress wp-cron, server cron jobs, product feed imports), backups that compress files and dump the database, search engine or bot crawls, email or ad campaign sends that bring a burst of visitors, and shared hosting neighbours using the same resources.
Why it costs you leads or sales
Visitors who arrive during a spike wait longer before anything appears. Some leave, and some forms or checkout requests time out. The worst part is that spikes often line up with your best traffic: a newsletter send, a morning ad budget burst or a sale launch.
Example: illustrative TTFB readings. Normal hours are steady, but the 02:00 backup and 09:00 campaign peak spike.
How to check if your site has it
Collect TTFB over time
One test is not enough. You need repeated measurements across at least a few days, ideally spread over all hours. Uptime or synthetic monitoring tools can do this, as can a scheduled script.
Note the times of the spikes
Write down the hour and weekday of each slow reading. Check whether they repeat daily, weekly or only on campaign days.
List what runs at those times
Check backup plugin or host backup schedules, server crontab (
crontab -l), WordPress scheduled actions, imports and email sends. Also check your analytics for traffic peaks at the same hours.Look at server load
In your host control panel, look at CPU, memory and PHP worker graphs for the spike window. A flat line at the limit during a spike points to resource exhaustion.
Check the server logs
Look for slow requests, 5xx errors and a burst of requests from one IP range or user agent at the spike time.
curl -o /dev/null -s -w 'TTFB: %{time_starttransfer}s
' https://www.example.com/
# Log it every 5 minutes to a file (add via crontab -e)
*/5 * * * * curl -o /dev/null -s -w "$(date -Is) %{time_starttransfer}\n" https://www.example.com/ >> /var/log/ttfb.logHow to fix it
- Visitor clicks adRequest sent to your server
- Server busyBackup or cron job uses CPU and database
- Slow first bytePage starts after seconds, not milliseconds
- Visitor leaves or form times outLead or sale lost
A heavy job competes with visitors for the same server, so the page request waits.
Move heavy jobs off-peak
Reschedule backups, imports and reports to the hours with the least traffic for your audience. Do not stack several jobs at the same minute.
Throttle or lighten the job
Use incremental backups instead of full ones, exclude cache and log folders, and lower backup compression or process priority where your tool allows it.
Serve pages from a full-page cache
Cached pages do not need PHP or the database, so a busy server hurts them far less. Landing pages should be cached.
Add a CDN in front of the site
A CDN can answer cached pages itself, so peaks and background jobs on your origin server matter less to visitors.
Add capacity if peaks are real traffic
If spikes match campaign sends, raise PHP workers or move to a larger plan, and warn your host before big sends.
Block or limit abusive bots
If logs show a crawler flood at spike times, use your host or CDN rate limiting. Do not block legitimate search engines or your own monitoring.
Replace wp-cron with a real cron job
By default WordPress runs scheduled tasks when a visitor loads a page, which can slow that visit. Add
define('DISABLE_WP_CRON', true);to wp-config.php, then have the server call wp-cron.php on a schedule.Reschedule backup plugin runs
In your backup plugin settings (for example UpdraftPlus under Settings > Backups), set the schedule to a quiet hour and split files and database into separate runs.
Check scheduled actions
If you use WooCommerce or Action Scheduler, look under Tools > Scheduled Actions for large pending queues running at peak times.
Turn on page caching
Enable full-page caching in your cache plugin or host panel and confirm landing pages are not excluded.
Review apps that run jobs
Shopify hosts the server, so you cannot move its backups. Check apps that sync, import or run scripts on the storefront, and review their schedules.
Remove heavy storefront apps
Disable apps one at a time in Settings > Apps and sales channels and compare load times in the slow window.
Contact Shopify Support
If slowness is on Shopify's own pages at set times and your apps are cleared, send support your timestamps.
Rule out tags as the cause
GTM does not affect server TTFB, but heavy tags can make pages feel slow. Use Preview mode to check that the slowdown is in the server response, not tag loading.
Check for custom endpoints
Webflow hosting handles server load for the pages. If spikes appear on forms or embedded third-party scripts, check those services' status and schedules.
Contact Webflow support
If published pages are slow at set times, send your timestamps and test URLs.
Review workflows and bulk sends
Large workflow runs or bulk campaign sends can coincide with visitor spikes. Spread them out over time where possible.
Check custom domain and embedded content
If funnel pages sit behind a custom domain or embed external scripts, compare timings with and without them.
Review velo code and apps
Wix manages hosting. If you use Velo scheduled jobs (jobs.config) or apps that sync data, move them to quiet hours.
Check extensions and injected scripts
Squarespace manages the server. Review third-party extensions and any code injection that calls external services at peak times.
Stagger crontab entries
Avoid several jobs at
0 * * * *. Use different minutes andniceandioniceto lower job priority.Add caching headers or a reverse proxy
Use Nginx fastcgi_cache, Varnish or a CDN so repeat requests skip your app.
Profile slow requests
Enable the slow query log and an application profiler to see which queries or functions grow during spikes.
# crontab -e: 03:30 every night, low CPU and disk priority
30 3 * * * nice -n 19 ionice -c3 /usr/local/bin/backup.sh >> /var/log/backup.log 2>&1# 1) In wp-config.php add: define('DISABLE_WP_CRON', true);
# 2) Then in crontab -e:
*/5 * * * * curl -s https://www.example.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1How to confirm it's fixed
- Run measurements through the old spike window and compare with earlier days.
- TTFB stays close to its normal level during backups and cron runs.
- Server CPU and PHP worker graphs no longer hit their limit at that time.
- Landing pages return cache hits (check headers such as
x-cache,cf-cache-statusor your plugin's header). - No 5xx errors or timeouts appear in logs during the window.
- A test form submission at the old spike time completes quickly.
Before
- Backup runs at 09:00 during the campaign peak
- wp-cron fires on visitor page loads
- Landing pages built by PHP on every request
- TTFB jumps for an hour, then recovers
After
- Backup runs at 03:30 at low priority
- Server cron runs tasks on a fixed schedule
- Landing pages served from cache
- TTFB stays steady through the day
How to prevent it happening again
- Keep a simple schedule list of every backup, import and cron job.
- Tell your host and team before big email sends or ad budget increases.
- Stagger new jobs instead of using the top of the hour.
- Review hosting resource graphs monthly and after adding plugins.
- Monitor TTFB over time, not just in one-off speed tests.
- Re-check after plugin, theme or host changes.
How FunnelGuard handles this
FunnelGuard detects this issue today. Its robot visitor runs your journeys on a schedule and records the server response time on each run. The check compares the latest run with your last 30 runs and flags an anomaly when the response time is well out of line with that recent pattern.
A failure is re-checked from a second region before one alert goes out, so a one-off blip in one location is less likely to wake you. The alert includes a screenshot and a likely cause. It tells you that a spike happened and when; you still need to match it to your cron jobs, backups or traffic using the steps above. How many spikes you can catch depends on how often your checks run: the Free plan checks daily, so short spikes can fall between runs.
| Likely cause | Typical pattern | Where to look |
|---|---|---|
| Backup job | Same time every day or week | Backup plugin or host schedule, crontab |
| WordPress cron | Random slow visits, scheduled tasks pile up | wp-config.php, Scheduled Actions |
| Campaign or email send | Spike right after a send | Email platform schedule, analytics |
| Bot crawl | Burst of requests from one range | Access logs, CDN or WAF dashboard |
| Shared host neighbours | Irregular, no match to your jobs | Host resource graphs, support ticket |
Questions people ask
Why is my website slow at the same time every day?
A scheduled job is the most likely cause. Daily backups, cron tasks, imports or a regular email send can use the CPU and database at that hour. Match the slow times to your backup schedule, crontab and traffic graphs.
Can a backup slow down my website?
Yes. Backups compress files and dump the database, which uses CPU, memory and disk. On shared or small servers this delays page responses. Schedule backups for quiet hours, use incremental backups and run them at low priority.
Does wp-cron cause slow TTFB in WordPress?
It can. By default WordPress runs scheduled tasks when a visitor loads a page, so that visit may wait. Setting DISABLE_WP_CRON to true and running wp-cron.php from a real server cron job moves that work away from visitors.
How do I find out what causes TTFB spikes?
Record TTFB repeatedly over several days, note the times of the slow readings, then compare them with backup schedules, cron jobs, server load graphs and traffic. Logs for the spike window often show the culprit.
Will a CDN fix TTFB spikes?
It helps if the spiking pages can be cached, because the CDN answers without touching your busy origin server. It will not fix uncached requests such as carts, logins or form submissions, so you still need to fix the underlying job.
How can I tell if traffic peaks are slowing my site?
Compare slow periods with your analytics and server graphs. If TTFB rises as visits rise and CPU or PHP workers reach their limit, the server lacks capacity. Add caching first, then more resources if needed.
Can FunnelGuard tell me when my TTFB spikes?
Yes. FunnelGuard compares each run's response time with your last 30 runs and flags an anomaly, then re-checks from a second region before alerting. It shows when the spike happened, so you can match it to a job or peak.
Related issues
- PRF-050TTFB over 800 msFix guide
- PRF-053Full-page cache disabled or bypassed (WordPress cache plugin off)Fix guide
- PRF-061Origin server returns 5xx intermittentlyFix guide
- PRF-065Database-heavy pages slow under load (WooCommerce cart fragments)Fix guide
- PRF-066admin-ajax.php requests slow down every WordPress pageFix guide
- PRF-052Slow TTFB only from one region (no CDN)Fix guide