FetchEvent.isReload has been removed

Published: | Categories: DOM


The isReload property on the FetchEvent interface has been removed with Firefox 74 because it was dropped from the Service Workers spec back in 2017. You can instead use the cache property on the Request interface and check if the value is reload.

// Don’t do this
if (event.isReload) { ... }
// Do this
if (event.request.cache === 'reload') { ... }