None of this solves the problem at hand though....<div><br></div><div>To restate it:</div><div><br></div><div>My manifest has an OFFLINE section of "/ /offline"<div><br></div><div>Once that manifest has been loaded, and cached successfully and the user is still online, my 404 and 500 pages are broken. Instead of showing the content of those pages, the browser is rendering the cached version of /offline</div>
<div><br></div><div>The only solution I can figure out right now is to have those pages respond with 200, which is just wrong.</div><div><br></div><div>I'm sorry if I've missed your proposed solution. Would you mind elaborating once more?</div>
<div><br></div><div>Thanks!</div><div>Josh<br><br><div class="gmail_quote">On Wed, Feb 8, 2012 at 4:29 PM, Ian Hickson <span dir="ltr"><<a href="mailto:ian@hixie.ch">ian@hixie.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, 8 Feb 2012, Josh Sharpe wrote:<br>
><br>
> There must be some altnative or a best-practice that I'm missing here.<br>
><br>
> Based on your response I can only conclude that I either<br>
> 1) Don't respond, ever, with 400+ error codes<br>
<br>
</div>You can respond with 4xx and 5xx codes, sure. This should never be an<br>
issue. You'll only ever respond with a 4xx code in the case of a<br>
client-side error, which should never happen, and you'll only ever respond<br>
with 5xx codes in the case of a server-side error, in which case you might<br>
as well be offline.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Ian Hickson U+1047E )\._.,--....,'``. fL<br>
<a href="http://ln.hixie.ch/" target="_blank">http://ln.hixie.ch/</a> U+263A /, _.. \ _\ ;`._ ,.<br>
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'<br>
</div></div></blockquote></div><br></div></div>