Uncaught (in promise) TypeError: Failed to execute ‘Cache’ on ‘addAll’: Request failed on progressive web app

  • For the first exception:-

    Uncaught (in promise) TypeError: Failed to execute ‘Cache’ on ‘addAll’: Request failed

You get this exception when any files which you have mentioned in your cache list return a 404 response. So make sure the all the resources are giving 200.

  • For the 2nd error:-

    start_url does not respond with a 200 when offlineThe start_url did respond.

In your case as files are not getting cached(due to first exception) you are getting this error and also make sure to cache root index file in your cache list.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)