[html5] app manifest & 404/500 pages

Ian Hickson ian at hixie.ch
Fri Feb 10 21:30:47 PST 2012

On Fri, 10 Feb 2012, Josh Sharpe wrote:
> None of this solves the problem at hand though....
> To restate it:
> My manifest has an OFFLINE section of "/ /offline"
> Once that manifest has been loaded, and cached successfully and the user is
> still online, my 404 and 500 pages are broken.

I don't see the problem. You should presumably never be sending back a 
404, since the user will never request a page you don't have unless you 
have a broken link or something, and you should never ever send back a 500 
unless your server is in fact offline (or broken, which amounts to the 
same thing).

Generally speaking, by the way, having your entire site in the FALLBACK 
section under one entry is probably not what you want. The FALLBACK 
section is supposed to just be for files that you would want to have 
cached but that you don't cache because there's too many of them (e.g. 
photos on Flickr). The fallback page is supposed to be able to generate 
the page from the local database, if the data is available.

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

More information about the Help mailing list