Questions tagged [time-to-first-byte]

Measurement of latency from sending the request to first response has been received

22 questions
2
votes
1 answer

Django + Nginx + Gunicorn - Why is my TTFB so high?

This is my first time setting up a web server using nginx/gunicorn so if there is anything obvious on why my TTFB is so high I apoligize. According to gtmetrix.com my TTFB is 1.4s: In my own testing, my TTFB was around ~1.3s. I am confused on why…
John Doe
  • 512
  • 1
  • 5
  • 17
2
votes
0 answers

how to scrape google result progressively?

I want to scrape google as fast as possible. Google in browser loads progressively in which loading results is divided into Waiting(TTFB) and Content Downlaod. I am using python requests to scrape google. The timing of requests is only…
hamid
  • 694
  • 1
  • 8
  • 20
2
votes
0 answers

how to crawl page as fast as possible?

i want to crawl google result using python, but the crawler is slow. i want to reduce time-to-first-byte. when i use google in my browser timing is as bellow: when i use requests to get google in my website timing is as bellow: and locally i get…
mohammad
  • 434
  • 1
  • 5
  • 17
2
votes
2 answers

JMeter response time vs threads graph - data point

What data point this graph is using? Is the graph representing TTFB (time to first byte) or TTLB (time to last byte) Here are the settings:
1
vote
1 answer

How can I have a bad Time to First Byte on Core Web Vitals, but a good TTFB on all Pagespeed tests?

Question I'm trying to find an explanation for the following inconsistency on Google's PageSpeed Insights (Lighthouse): The "Core Web Vitals Assessment" section at the top always lists a quite bad TTFB. For instance, it looks like this for a random…
1
vote
2 answers

How to reduce the time_starttransfer (TTFB) with AWS EC2

My website is on AWS EC2. I checked the TTFB (Time to First Byte) with this command: curl --output /dev/null --silent --write-out…
1
vote
1 answer

Different TTFB value on Chrome vs Web Vitals

I am noticing different TTBF values in Chrome network tab vs logged by WebVitals. Ideally it should be exactly same value, but sometimes seeing large difference as much as 2-3 seconds for certain scenarios. I am using Next.js and using…
Ravi Roshan
  • 1,177
  • 2
  • 11
  • 28
1
vote
1 answer

Slow TTFB when using https on WordPress, though optimized many times

I got trouble with the TTFB on my WordPress. It's always very slow on the first time loading on the browser and after many reload, TTFB still more than 600ms. This is some information: My website: https://passioshop.com/ Using Contabo.com VPS: 6…
1
vote
0 answers

Event handler for time to first byte in browser?

This question is similar but did not help. Users upload files to our server for processing then download the result. This all happens within a single AJAX call on a web page. Because the downloaded files are large, we would like to indicate when…
Crashalot
  • 33,605
  • 61
  • 269
  • 439
1
vote
0 answers

Slow Time To First Byte (TTFB)

My website has a really long TTFB, about 10-20 seconds. Here are the results from webpagetest: https://www.webpagetest.org/result/191231_XT_1c7004d39484c32e8e2493c4b4bb75c4/2/details/ The web bytecheck says that the very long task is SSL. But the…
Victor
  • 893
  • 1
  • 10
  • 25
1
vote
0 answers

Cloudfront queues parallel requests - high and sequential time-to-first-byte (TTFB)

I have a web application that requests a lot of media assets in parallel using AJAX. All assets are coming from the same Cloudfront Origin, which is itself directly plugged into an S3 bucket. I'm seeing requests from Cloudfront with TTFB of the…
1
vote
1 answer

How to correctly setup Nginx to get minimal TTFB delay?

I have a rails application that is running on Nginx and Puma in production environment. There is a problem with web page loading (TTBF delay), and I am trying to figure out a reason. On backend side in production.log I see that my web page is…
bmalets
  • 3,207
  • 7
  • 35
  • 64
1
vote
1 answer

What makes up the TTFB (Time-To-First-Byte) calculation, and how to see individual component timings?

I'm seeing high Time-To-First-Byte numbers reported in chrome dev tools for network requests. I'd like to improve it, but I'm not sure which part of the request process is leading to slow speeds. Some sources quote this measurement as "DNS, SSL,…
Allyl Isocyanate
  • 13,306
  • 17
  • 79
  • 130
0
votes
0 answers

TTFB for node server req/res

I have a node server as a Backend for frontend. We make request from node to a java server for HTTP. We are facing latency issues and suspect node taking time to read the response(some are html responses). For performance we are using node…
0
votes
0 answers

How to improve TTFB on nginx server?

I'm running VPS (nginx version 1.18.0 on Ubuntu) in Charlotte, NC (QEMU Virtual CPU version 2.5+ 2399.998 MHz, up to 3.2 Ghz in turbo; 2gb RAM) and TTFB of my Wordpress sites aren't great. It's around 200-300ms in America, a bit worse in Canada and…
nginxnoob
  • 1
  • 1
1
2