Application caches can store a set of namespace entries that affect loads from the application cache. If a load from the cache fails to match on an exact cache entry, the namespace entries are searched for a substring match.
void init(in unsigned long itemType, in ACString namespaceSpec, in ACString data);
Data associated with the namespace, such as a fallback. How this attribute is used varies depending on the namespace type. If the data is a URI, this attribute should be the URI's asciiSpec. Read only.
The prefix of this namespace. This should be the asciiSpec of the URI prefix. Read only.
Items matching this namespace can be fetched from the network when loading from this cache. The data attribute is not used.
Items matching this namespace can be fetched from the network when loading from this cache; however, if the load fails, the cache entry specified by the data attribute should be loaded intstead.
Items matching this namespace should be cached opportunistically. Successful top-level loads of resources in this namespace should be placed into the application cache. This can be combined with NAMESPACE_FALLBACK to provide a fallback entry in the data attribute.
Initializes the namespace.
in unsigned long itemType,
in ACString namespaceSpec,
in ACString data