server response time gtmetrix vs ping

gtmetrix is showing a 1.6 Time to first byte, when i ping my website i get .05-.06 ms… why is there a big discrepancy and how can i troubleshoot if there is a configuration issue?

1 Reply

The definition of Time To First Byte (by gtmetrix) is: "Redirect duration" + "Connection duration" + "Backend duration"

Thus, a ping is obviously irrelevant in this measurement. Your 1.6 seconds is a combination of the above three durations, probably most of that is the Backend, which is usually the longest delay.

edit

I just run gtmetrix on one of the e-shops I've built, it comes up with:

PageSpeed A (99%)

YSlow A (90%)

Fully Loaded Time 2.4s

Total Page Size 400KB

Requests 16

Fully Loaded Time is derived from:

Redirect 0ms

Connect 321ms

Backend 220ms

TTFB 0.5s <– This is my Time To First Byte

First paint 1.0s

DOM int. 1.5s

DOM loaded 1.5s (1ms)

Onload 1.6s (9ms)

(gtmetrix server at Vancouver Canada, my server at Frankfurt Germany)

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct