Obtaining the start time when a web browser begins to load AND obtaining the start time of an HTTP request of...

Did Amazon pay $0 in taxes last year?

Can the Shape Water Cantrip be used to manipulate blood?

Should I use HTTPS on a domain that will only be used for redirection?

PTIJ: What dummy is the Gemara referring to?

Make me a metasequence

An Undercover Army

When to use mean vs median

How do you say “my friend is throwing a party, do you wanna come?” in german

Formatting a table to look nice

Is there a way to find out the age of climbing ropes?

Lock enemy's y-axis when using Vector3.MoveTowards to follow the player

Can an earth elemental drown/bury its opponent underground using earth glide?

Where is this quote about overcoming the impossible said in "Interstellar"?

GDAL GetGeoTransform Documentation -- Is there an oversight, or what am I misunderstanding?

Relationship between the symmetry number of a molecule as used in rotational spectroscopy and point group

How do I deal with being envious of my own players?

How to disable or uninstall iTunes under High Sierra without disabling SIP

The Ohm's law calculations of the parts do not agree with the whole

Was it really inappropriate to write a pull request for the company I interviewed with?

PTIJ: Why can't I sing about soda on certain days?

Can a Trickery Domain cleric cast a spell through the Invoke Duplicity clone while inside a Forcecage?

It doesn't matter the side you see it

Reason why dimensional travelling would be restricted

What is better: yes / no radio, or simple checkbox?



Obtaining the start time when a web browser begins to load AND obtaining the start time of an HTTP request of a resource


See the time spent on web site since load or the time when page was opened in Chromehow to force web browser sends HTTP CONNECT requestDoes Chrome reloadButton ignores the cache?Translation failed because of a server error on google-chrome browserInternet is super slow on Mac MavericksI need to flush dns again and again to make the sites loadChrome cache protocol: avoid too many redirectsBrowsers delaying 5 seconds before attempting first dns query(Advanced Rest Client ,Postman) Vs chrome browser http requestSeeing 'not allowed to load local resource' when running chrome://cache or chrome://view-http-cache













1















As I have been googling around I have seen many posts on other websites of people asking this question with no solution



I am trying to figure out how long it's taking my web server running NGINX
to receive a request from the browser, the server itself once it says it receives a particular http request reports in its logs mere 6MS to complete it, however from the browser its taking 11+ seconds. I need to measure the time between when an HTTP request was made to server and the time it took for the server to receive the request to solve my issue.



There is nowhere in the google chrome developer tools that can tell me a timestamp when a website started to load - each subsequent HTTP request says how many seconds or milliseconds since the page load began, takes place. If I know when the page began to load I can do the math manually to figure out the timestamp of my API request using the devtools waterfall.










share|improve this question







New contributor




alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    1















    As I have been googling around I have seen many posts on other websites of people asking this question with no solution



    I am trying to figure out how long it's taking my web server running NGINX
    to receive a request from the browser, the server itself once it says it receives a particular http request reports in its logs mere 6MS to complete it, however from the browser its taking 11+ seconds. I need to measure the time between when an HTTP request was made to server and the time it took for the server to receive the request to solve my issue.



    There is nowhere in the google chrome developer tools that can tell me a timestamp when a website started to load - each subsequent HTTP request says how many seconds or milliseconds since the page load began, takes place. If I know when the page began to load I can do the math manually to figure out the timestamp of my API request using the devtools waterfall.










    share|improve this question







    New contributor




    alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      As I have been googling around I have seen many posts on other websites of people asking this question with no solution



      I am trying to figure out how long it's taking my web server running NGINX
      to receive a request from the browser, the server itself once it says it receives a particular http request reports in its logs mere 6MS to complete it, however from the browser its taking 11+ seconds. I need to measure the time between when an HTTP request was made to server and the time it took for the server to receive the request to solve my issue.



      There is nowhere in the google chrome developer tools that can tell me a timestamp when a website started to load - each subsequent HTTP request says how many seconds or milliseconds since the page load began, takes place. If I know when the page began to load I can do the math manually to figure out the timestamp of my API request using the devtools waterfall.










      share|improve this question







      New contributor




      alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      As I have been googling around I have seen many posts on other websites of people asking this question with no solution



      I am trying to figure out how long it's taking my web server running NGINX
      to receive a request from the browser, the server itself once it says it receives a particular http request reports in its logs mere 6MS to complete it, however from the browser its taking 11+ seconds. I need to measure the time between when an HTTP request was made to server and the time it took for the server to receive the request to solve my issue.



      There is nowhere in the google chrome developer tools that can tell me a timestamp when a website started to load - each subsequent HTTP request says how many seconds or milliseconds since the page load began, takes place. If I know when the page began to load I can do the math manually to figure out the timestamp of my API request using the devtools waterfall.







      google-chrome google-chrome-devtools






      share|improve this question







      New contributor




      alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked yesterday









      alillandalilland

      1163




      1163




      New contributor




      alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          1














          there is a chrome API that can be used in the developer tools console:



          To obtain the web pages browser load start time in the console you can run



          performance.timeOrigin
          // => 1551815483060.8398


          to convert this value to a readable timestamp:



          new Date(performance.timeOrigin).toUTCString()
          // => "Tue, 05 Mar 2019 19:51:23 GMT"


          next, you will need to get the startTime of the loaded resource, to see all the resources that got loaded the following command will work list them out in the console



          performance.getEntriesByType('resource')
          // => []


          (will return an array of loaded resources), that array will not be blank like the one I listed, it will have a property of startTime with the MS since the page load began



          performance.getEntriesByType('resource')[5].startTime
          // => 2820.3300000022864


          You can then add those two values together to get the official date stamp when the browser began its request to your server



          new Date(performance.timeOrigin + performance.getEntriesByType('resource')[5].startTime).toUTCString()
          // => "Tue, 05 Mar 2019 19:51:25 GMT"


          for details on the performance interface, see the following docs






          share|improve this answer








          New contributor




          alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });






            alilland is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1411566%2fobtaining-the-start-time-when-a-web-browser-begins-to-load-and-obtaining-the-sta%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            there is a chrome API that can be used in the developer tools console:



            To obtain the web pages browser load start time in the console you can run



            performance.timeOrigin
            // => 1551815483060.8398


            to convert this value to a readable timestamp:



            new Date(performance.timeOrigin).toUTCString()
            // => "Tue, 05 Mar 2019 19:51:23 GMT"


            next, you will need to get the startTime of the loaded resource, to see all the resources that got loaded the following command will work list them out in the console



            performance.getEntriesByType('resource')
            // => []


            (will return an array of loaded resources), that array will not be blank like the one I listed, it will have a property of startTime with the MS since the page load began



            performance.getEntriesByType('resource')[5].startTime
            // => 2820.3300000022864


            You can then add those two values together to get the official date stamp when the browser began its request to your server



            new Date(performance.timeOrigin + performance.getEntriesByType('resource')[5].startTime).toUTCString()
            // => "Tue, 05 Mar 2019 19:51:25 GMT"


            for details on the performance interface, see the following docs






            share|improve this answer








            New contributor




            alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              1














              there is a chrome API that can be used in the developer tools console:



              To obtain the web pages browser load start time in the console you can run



              performance.timeOrigin
              // => 1551815483060.8398


              to convert this value to a readable timestamp:



              new Date(performance.timeOrigin).toUTCString()
              // => "Tue, 05 Mar 2019 19:51:23 GMT"


              next, you will need to get the startTime of the loaded resource, to see all the resources that got loaded the following command will work list them out in the console



              performance.getEntriesByType('resource')
              // => []


              (will return an array of loaded resources), that array will not be blank like the one I listed, it will have a property of startTime with the MS since the page load began



              performance.getEntriesByType('resource')[5].startTime
              // => 2820.3300000022864


              You can then add those two values together to get the official date stamp when the browser began its request to your server



              new Date(performance.timeOrigin + performance.getEntriesByType('resource')[5].startTime).toUTCString()
              // => "Tue, 05 Mar 2019 19:51:25 GMT"


              for details on the performance interface, see the following docs






              share|improve this answer








              New contributor




              alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                1












                1








                1







                there is a chrome API that can be used in the developer tools console:



                To obtain the web pages browser load start time in the console you can run



                performance.timeOrigin
                // => 1551815483060.8398


                to convert this value to a readable timestamp:



                new Date(performance.timeOrigin).toUTCString()
                // => "Tue, 05 Mar 2019 19:51:23 GMT"


                next, you will need to get the startTime of the loaded resource, to see all the resources that got loaded the following command will work list them out in the console



                performance.getEntriesByType('resource')
                // => []


                (will return an array of loaded resources), that array will not be blank like the one I listed, it will have a property of startTime with the MS since the page load began



                performance.getEntriesByType('resource')[5].startTime
                // => 2820.3300000022864


                You can then add those two values together to get the official date stamp when the browser began its request to your server



                new Date(performance.timeOrigin + performance.getEntriesByType('resource')[5].startTime).toUTCString()
                // => "Tue, 05 Mar 2019 19:51:25 GMT"


                for details on the performance interface, see the following docs






                share|improve this answer








                New contributor




                alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                there is a chrome API that can be used in the developer tools console:



                To obtain the web pages browser load start time in the console you can run



                performance.timeOrigin
                // => 1551815483060.8398


                to convert this value to a readable timestamp:



                new Date(performance.timeOrigin).toUTCString()
                // => "Tue, 05 Mar 2019 19:51:23 GMT"


                next, you will need to get the startTime of the loaded resource, to see all the resources that got loaded the following command will work list them out in the console



                performance.getEntriesByType('resource')
                // => []


                (will return an array of loaded resources), that array will not be blank like the one I listed, it will have a property of startTime with the MS since the page load began



                performance.getEntriesByType('resource')[5].startTime
                // => 2820.3300000022864


                You can then add those two values together to get the official date stamp when the browser began its request to your server



                new Date(performance.timeOrigin + performance.getEntriesByType('resource')[5].startTime).toUTCString()
                // => "Tue, 05 Mar 2019 19:51:25 GMT"


                for details on the performance interface, see the following docs







                share|improve this answer








                New contributor




                alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered yesterday









                alillandalilland

                1163




                1163




                New contributor




                alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                alilland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






















                    alilland is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    alilland is a new contributor. Be nice, and check out our Code of Conduct.













                    alilland is a new contributor. Be nice, and check out our Code of Conduct.












                    alilland is a new contributor. Be nice, and check out our Code of Conduct.
















                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1411566%2fobtaining-the-start-time-when-a-web-browser-begins-to-load-and-obtaining-the-sta%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                    Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

                    looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...