Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Feedback on: Timestamping an HTML Document, May 04, 1999 at 10:29:07:

You are here: irt.org | About | Feedback | 183 [ previous next ]

Feedback on:
Timestamping an HTML Document

Sent by
Greg Thomas on May 04, 1999 at 10:29:07:

Worth reading

Just right

Just right

At http://www.irt.org/articles/js130/index.htm you say


Unfortunately, it seems that the JavaScript technique doesn't work if the file is already using SSIs (say for some other purpose).
That is, the above technique will not work if the file is of the type *.shtml and includes


I can remove the 'it seems' for you. document.lastModified returns that date as indicated by the "last-modified:" HTTP header when the file is retrieved. Many servers that implement SSI do not return this header, because it would be necessary to parse the whole of the 'included' document tree to work out which file was the last modified.

Whilst some servers will return this field, the majority will not, and hence document.lastModified will not work on these servers.



Other feedback on 'Timestamping an HTML Document' - show all

©2018 Martin Webb