Re: [XHR][HTML5] Clarification for interaction between HTML5 section "5.6 Offline Web applications" and XMLHttpRequest

On Mon, 17 Oct 2011, "Röckelein, Wolfgang, SEVEN PRINCIPLES" wrote:
> 
> When doing a XMLHttpRequest GET request with a request URL which is for 
> a host for which a cache host exists which has an application cache with 
> completeness flag set to complete associated which contains a master 
> entry, an explicit entry or a fallback entry for the request URL, should 
> the XMLHttpRequest get the entry from the cache or fetch the resource 
> normally or fail with a network error?

The only times requests come from an appcache are:

 - when navigating, which doesn't apply here, and
 - when the appcache in question is the same appcache as the page's own 
   appcache.

You never get one appcache fetching from another.

XMLHttpRequest is treated the same as any other non-navigating way of 
obtaining a resource from the network or cache.

Does that answer your question?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 27 January 2012 18:59:00 UTC