Re: [whatwg] Fwd: fallback section taking over for 4xx and 5xx responses while online

2014-04-30 Thread Ian Hickson
On Mon, 17 Dec 2012, David Barrett-Kahn wrote: > On Mon, Dec 17, 2012 at 3:30 PM, Ian Hickson wrote: > > On Tue, 11 Dec 2012, David Barrett-Kahn wrote: > > > > > > We ran into this same problem on Google Docs offline. Our solution > > > was to add a proprietary response header to Chrome which in

Re: [whatwg] Fwd: fallback section taking over for 4xx and 5xx responses while online

2012-12-20 Thread Michael Nordman
It'd be loads better if application logic were directly responsible for making these sort of policy decisions regarding what cached resource to use under what circumstance. Obscure least-common-denominator rules baked into the user agent with even more obscure ways to override that least-common-den

Re: [whatwg] Fwd: fallback section taking over for 4xx and 5xx responses while online

2012-12-20 Thread Mikko Rantalainen
Ian Hickson, 2012-12-17 23:30 (Europe/Helsinki): > On Tue, 11 Dec 2012, David Barrett-Kahn wrote: >> browser that the response is not to trigger the fallback entry, despite >> its response code. Something like it could be considered for > > Can you elaborate on the need for this feature? Why wo

Re: [whatwg] Fwd: fallback section taking over for 4xx and 5xx responses while online

2012-12-17 Thread David Barrett-Kahn
Generally speaking, this feature is useful where the error page is somewhat routine and contains information comprehensible and actionable by the user, which would otherwise be lost in the fallback. This was mainly about 404s, which docs will serve when a requested document id doesn't exist, which

Re: [whatwg] Fwd: fallback section taking over for 4xx and 5xx responses while online

2012-12-17 Thread Ian Hickson
On Tue, 11 Dec 2012, David Barrett-Kahn wrote: > > We ran into this same problem on Google Docs offline. Our solution was > to add a proprietary response header to Chrome which instructs the > browser that the response is not to trigger the fallback entry, despite > its response code. Somethin

Re: [whatwg] Fwd: fallback section taking over for 4xx and 5xx responses while online

2012-12-11 Thread David Barrett-Kahn
We ran into this same problem on Google Docs offline. Our solution was to add a proprietary response header to Chrome which instructs the browser that the response is not to trigger the fallback entry, despite its response code. Something like it could be considered for standardization. I know t

Re: [whatwg] Fwd: fallback section taking over for 4xx and 5xx responses while online

2012-12-10 Thread Ian Hickson
On Fri, 24 Aug 2012, Josh Sharpe wrote: > > I have a manifest that looks something like this: > > CACHE MANIFEST > # e4a75fb378cb627a0d51a80c1cc5684c2d918d93e267f5854a511aa3c8db5b1a > /a/application.js > /a/application.css > > NETWORK: > * > > FALLBACK: > / /offline > > Notably, it has a "/ /o