W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2008

[whatwg] Section 5.7.3.3 Parsing cache manifests

From: Jonas Sicking <jonas@sicking.cc>
Date: Wed, 31 Dec 2008 01:52:28 +0100
Message-ID: <63df84f0812301652o5a531698jef9349c65db4f1ba@mail.gmail.com>
2008/12/30 Alexey Proskuryakov <ap at webkit.org>:
>
> Dec 30, 2008, ? 7:09 PM, timeless ???????(?):
>
>>> I suggest changing the signature to "^<BOM>?CACHE MANIFEST" - then it
>>> will
>>> be easier to verify, and it will be possible to add comments at the end.
>>> This is how we have it in WebKit now, and changing the check to the more
>>> strict HTML5 one may affect existing clients.
>>
>> this means we could never do:
>> "^<BOM>?CACHE MANIFEST2"
>
>
> If incompatible changes to the format are ever needed, we can change
> Content-Type.

Ugh, depending on the content-type for things like versioning would
suck, people have a hard time getting that right even for HTML vs.
GIF, so trying to use it for things as subtle as versions is bound to
be too unreliable.

But maybe just using a signature to detect that it's a manifest file
of some version is enough, then manifest specific code can be used to
choose which parser version to use.

/ Jonas
Received on Tuesday, 30 December 2008 16:52:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:46 UTC