W3C home > Mailing lists > Public > www-tag@w3.org > November 2011

Re: Web browsers should preserve the file system Last-Modified time of downloaded files

From: Karl Dubost <karld@opera.com>
Date: Tue, 8 Nov 2011 21:43:40 -0500
Message-Id: <06C72441-5C2F-40D9-88D1-F221E4E773BA@opera.com>
Cc: "www-tag@w3.org List" <www-tag@w3.org>
To: Brolin Empey <brolin@brolin.be>

Le 4 nov. 2011 à 19:18, Brolin Empey a écrit :
> The Web browser should preserve the file system last modified time by default because this time cannot easily be recovered after it is discarded.

The lastModified date is not always defined, I haven't 
checked for a while but in many cases the server sends 
wrong or undefined dates. So it is not only a question 
of making a "touch" on the file, but dealing with 
specific cases in the code path. 

That makes it less useful, unfortunately. Do you have 
data on the frequency of wrong and right dates on the 


NY Times for the article [1] created on 6 October 2010
returns the following information:

* Date: Wed, 09 Nov 2011 02:38:53 GMT
* Expires: Thu, 01 Dec 1994 16:00:00 GMT

and no Last-Modified: header, which will trigger different
type of answers for the lastModified DOM (depending on the 

[1]: http://www.nytimes.com/external/readwriteweb/2010/10/06/06readwriteweb-w3c-html5-not-ready-for-production-yet-99284.html

Karl Dubost - http://dev.opera.com/
Developer Relations & Tools, Opera Software
Received on Wednesday, 9 November 2011 02:44:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:56:41 UTC