Skip to main content

Why am I seeing a long time to first byte (TTFB) on WebPageTest.org

Comments

4 comments

  • Paul Spencer

    Hi

    This doesn't seem right. Using preconnect allows the browser to peform dns lookup, connect and ssl. It doesn't explain the poor time to first byte. We've done exactly what was suggested and I can see that it has resolved the three items, but I'm still getting very poor time to first byte, anywhere between 150 and 400ms. This is a real shame as Cloudinary is a great solution, but if I can't resolve this it's back to hosting images on the AWS server with below 50ms ttfb.

    0
  • Stephen Doyle

    Hi Paul,

    There are different ways to measure TTFB and different causes of that measurement showing delays; the preconnect option is intended to account for potential delays caused by the DNS and/or SSL lookup and negotiation. 

    With the 'webspeedtest' example above, the primary sources of delays shown in their TTFB metric are usually due to the shared HTTP/2 connection being used (so images requested later may be queued behind those requested earlier), or a delay in the browser dispatching the request for the image due to its position on the page, the relative priority when the browser is requesting page elements, or due to Javascript processing delaying the dispatch while other tasks complete

    Regarding your site specifically, I see you have an existing support ticket and I'll follow up there shortly

    Regards,

    Stephen

    0
  • Frederic Drouard

    Hi Paul,

     

    I am curious if your problem was resolved to your satisfaction and how it was resolved or if you ended up going back to AWS?

     

    Thanks

    0
  • Erwin Lukas

    Hi Frederic,

    If there is anything Cloudinary can help you on this, I will be happy to assist you on this.
    I suggest you to open a ticket to here, and please provide as detail information as possible so we can look into it.

    Regards,
    Erwin Lukas

    0

Please sign in to leave a comment.