Re: Version identifier

Makes sense to me. We'd need to clearly spell out what the 'version'
attribute value contains in all cases. It'd be nice to be able
to distinguish between these two cases.
- no cache association
- a cache is associated, but with no version setting in the manifest file
Maybe undefined vs null?



On Mon, Oct 29, 2012 at 3:38 PM, Chris Wilson <cwilso@google.com> wrote:

> It was discussed at the Mozilla-hosted meeting that a version identifier,
> to help developers identify what appcache was in use, would be helpful.  I
> wanted to make a simple proposal for that: a version token in the
> SETTINGS section.  This would be the token "version" followed by a single
> simple token string (not necessarily numeric; up to the developer what they
> actually put in there), e.g.:
>
> SETTINGS
> version 1.0
>
> this would then be exposed this on the applicationCache object:
>
> readonly attribute DOMString version;
>
> Thoughts?
>
> -Chris
>

Received on Monday, 29 October 2012 23:43:20 UTC