Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26898 > unrolled thread

How do we know when a page has been updated

Started by"Tony Johansson" <johansson.andersson@telia.com>
First post2015-02-23 14:43 +0100
Last post2015-02-23 18:04 +0100
Articles 4 — 4 participants

Back to article view | Back to comp.lang.javascript


Contents

  How do we know when a page has been updated "Tony Johansson" <johansson.andersson@telia.com> - 2015-02-23 14:43 +0100
    Re: How do we know when a page has been updated Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-02-23 15:46 +0100
    Re: How do we know when a page has been updated "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-02-23 08:56 -0800
      Re: How do we know when a page has been updated "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-02-23 18:04 +0100

#26898 — How do we know when a page has been updated

From"Tony Johansson" <johansson.andersson@telia.com>
Date2015-02-23 14:43 +0100
SubjectHow do we know when a page has been updated
Message-ID<mcfaq0$7f1$1@dont-email.me>
How can I know when a certain page was last updated?

//Tony

[toc] | [next] | [standalone]


#26902

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2015-02-23 15:46 +0100
Message-ID<7878155.pDcIPVvhBA@PointedEars.de>
In reply to#26898
Tony Johansson wrote:

> How can I know when a certain page was last updated?

*Why* do you not read the FAQ?

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

[toc] | [prev] | [next] | [standalone]


#26904

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2015-02-23 08:56 -0800
Message-ID<fbf22176-8011-4343-a060-dc4818238a00@googlegroups.com>
In reply to#26898
On Monday, February 23, 2015 at 7:44:14 AM UTC-6, Tony Johansson wrote:
> How can I know when a certain page was last updated?


Look at document.lastModified

...but it will most likely not give you any useful information.

[toc] | [prev] | [next] | [standalone]


#26905

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2015-02-23 18:04 +0100
Message-ID<XnsA44AB7C8E5FDCeejj99@194.109.133.133>
In reply to#26904
"Michael Haufe (TNO)" <tno@thenewobjective.com> wrote on 23 feb 2015 in 
comp.lang.javascript:

> On Monday, February 23, 2015 at 7:44:14 AM UTC-6, Tony Johansson wrote:
>> How can I know when a certain page was last updated?

That depends on what you mean by "updated".
  
> Look at document.lastModified
> 
> ...but it will most likely not give you any useful information.

... because serverside coded pages are made anew every time they are called, 
so their document.lastModified, showing the time in the HEAD, is nearly 
server "now".

However, you might get a relyable date/time with the stream of an 
oldfashionned static html file.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web