code: function isCacheAvailable () {
    if (!runtime.isBrowser) {
      console.warn('The offline cache is only available in the browser')
      return false
    }
  
    if (typeof window.caches === 'undefined') {
      console.warn('Your browser does not support offline cache storage')
      return false
    }
  
    return true
  }
docs: helpers