I’m looking for a way to find out how long a server has been up based only on the page it sends back. Like, if I went to http://www.google.com, is there some sort of response header variable that tells how long the server I connected to has been up? I’m doubting there is, but never hurts to ask…
Share
No, because HTTP, as a protocol, doesn’t really care. In any case, 50 different requests to google.com may end up at 50 different servers.
If you want that information, you need to build it into the application, something like “http://google.com/uptime” which will deliver Google’s view of how long it’s been up – Google will probably do this as a static page showing the date of their inception :-).