ilan-schemoul / meteor-service-worker

An universal service worker for meteor apps
MIT License
137 stars 26 forks source link

Exception after reload #2

Closed vuhrmeister closed 7 years ago

vuhrmeister commented 7 years ago

When running my app with your service worker on mobile (as standalone app) I get an error in the developer console. On desktop it works just fine.

Though, the app seems to work. Don't know if that error is critical.

I configured the HTMLToCache property to use /dashboard as value.

bildschirmfoto 2016-10-17 um 19 58 25

The second error seems to be a chrome issue: http://stackoverflow.com/questions/33328579/service-worker-throwing-an-neterr-file-exists-error

ilan-schemoul commented 7 years ago

The first error sometimes appears but doesn't seems critical as everything's working for now. I'm not sure how can I reproduce it, nor why Response is said to be used although it shouldn't as I use clone. So I'm open to ideas but I don't know why this error randomly occurs. As you said the second error can be ignored.

vuhrmeister commented 7 years ago

Alright, thx for clarification.

ilan-schemoul commented 7 years ago

I close this issue as it's not really an issue actually. It's a bit weird and annoying but otherwise it doesn't cause any trouble.

ilan-schemoul commented 7 years ago

I'm glad #3 fix this issue.

vuhrmeister commented 7 years ago

great! Glad to hear. Will update my script.