W3C home > Mailing lists > Public > public-html-comments@w3.org > January 2012

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

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 27 Jan 2012 18:58:29 +0000 (UTC)
To: wolfgang.roeckelein@7p-group.com
cc: public-html-comments@w3.org
Message-ID: <Pine.LNX.4.64.1201271856340.16982@ps20323.dreamhostps.com>
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 

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:26:28 UTC