Re: [OT] A quick Q: how to check the webpage building time
>> On Mon, 5 Mar 2012 23:28:12 +0800,
>> lina <lina.lastname@gmail.com> said:
L> Sometimes I wish to know the info. on some webpage, which is latest news
L> or 7 years ago. How can I know the building time of those information.
For static files, either "curl" or "HEAD" can do this. For example:
% curl -I http://www.hcst.net/~vogelke/pictures/2012/0105-new-year-wishes/p04.jpg
HTTP/1.1 200 OK
Date: Tue, 06 Mar 2012 03:49:27 GMT
Server: Apache
Last-Modified: Thu, 05 Jan 2012 20:04:57 GMT
ETag: "414a07-3a93-4b5cd7246ac40"
Accept-Ranges: bytes
Content-Type: image/jpeg
Content-Length: 14995
A dynamically-generated page will return the current time. Also, the
server may be configured to NOT return the modtime for (say) an
index.html file, even if it's static.
--
Karl Vogel I don't speak for the USAF or my company
For a nosebleed: Put the nose much lower then the body until the heart stops.
--submitted to science and health teachers, Jr High thru college
Reply to: