Home:ALL Converter>Configure Workbox to use cached response when network response is a 404

Configure Workbox to use cached response when network response is a 404

Ask Time:2018-06-08T21:54:29         Author:Jeff Posnick

Json Formatter

This question was originally asked in a tweet.

Is there a way to configure Workbox to respond with a cached response when a network response has an HTTP status of 404?

Author:Jeff Posnick,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/50762234/configure-workbox-to-use-cached-response-when-network-response-is-a-404
yy