1

In Google Chrome, I can use window.performance.timing.responseStart to obtain the time at which the first byte of a web page loads in javascript.

Safari lacks the performance object. How can I get the same time in Safari?

John Hoffman
  • 17,857
  • 20
  • 58
  • 81
  • 1
    Looks like Safari 8 supports it... http://caniuse.com/#feat=nav-timing not sure if upgrading is an option, but thought I'd share this. – Timothy Sep 03 '14 at 20:38
  • 1
    possible duplicate http://stackoverflow.com/questions/6533456/time-to-first-byte-with-javascript –  Sep 03 '14 at 20:39
  • Oh thanks, is there a way I can find out which browsers/versions support window.performance? Or the relevant W3C interface in general? – John Hoffman Sep 03 '14 at 21:10
  • Ah, I can defer to caniuse: http://caniuse.com/#feat=nav-timing – John Hoffman Sep 03 '14 at 21:19

0 Answers0