[OT] A quick Q: how to check the webpage building time

March 05th, 2012 - 10:30 am ET by lina | Report spam
Hi,

Sometimes I wish to know the info. on some webpage, which is latest
news or 7 years ago,

seems not all webpages showed the entry time,

How can I know the building time of those information.

Thanks ahead,

Best regards,


To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAG9cJmnvP7...Ga9qtV=3tw@mail.gmail.com
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 vogelke+debian
March 05th, 2012 - 11:00 pm ET | Report spam
On Mon, 5 Mar 2012 23:28:12 +0800,
lina 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

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.


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/

Similar topics