GoogleChrome/samples — pull request #41 by jeffposnick (2014-11-07 22:14:58+00:00)
Title: Fallback response SW sample

@kenjibaheux @jakearchibald @slightlyoff @gauntface

Here's another SW recipe, which demonstrates returning a fallback response when the initial request returns an HTTP error response.

You can view a live demo at https://rawgit.com/jeffposnick/samples/sw-fallback-response/service-worker/fallback-response/index.html using the current Chrome Canary release.