Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8483711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:10:51+00:00 2026-06-10T20:10:51+00:00

I am working on web performance and I have to communicate with a remote

  • 0

I am working on web performance and I have to communicate with a remote server via Http protocol. The thing I want to do is getting the TTFB (Time To First Byte)** using the Http tools (HttpClient/Response/Handler/Interceptor…) from the Apache API or Android API, or from another lib/api working on Android.

Is there a way to do that with these class ? I have watched the web/forums until now, and all the subjects I’ve found are about reducing the TTFB, but never on how I can get it.

Any help would be appreciated 🙂
Thanks in advance, and I hope my English is understandable 🙂
Regards

** : corresponding to the delay between the end of a request and receiving a response, as we’re talking about the web here it will be when the browser received the first byte.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T20:10:53+00:00Added an answer on June 10, 2026 at 8:10 pm

    W3C has a proposed recommendation on Navigation Timing.

    The PerformanceTiming interface exposes a responseStart attribute, which is required to “return the time immediately after the user agent receives the first byte of the response from the server, or from relevant application caches or from local resources.”

    I think TTFB would be equal to

    performance.timing.responseStart - performance.timing.navigationStart
    

    but I could be wrong about that. The linked document includes a working html + javascript example.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on some Oracle performance issues with our web app. One thing I've
I'm currently working on web application using VB in ASP.NET. Right now I have
I'm working on a web-based business application where each customer will need to have
I have a web application that uses WCF to communicate with the back-end DB.
I have recently started working on a web application at a new company and
My web services have been working perfectly, It's hard to tell what I did
I have a working SOAP web service implemented with CXF in Java. What would
I am working on taking readings about web browser performance and so need to
I'm working on mobile web page using jquery mobile, it seems to have almost
I'm currently working on a Silverlight project, and I have created a Silverlight Web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.