AiursoftWeb / Kahla.App

Kahla is a cross-platform business messaging app.
https://www.kahla.app
MIT License
415 stars 85 forks source link

App could not auto update #345

Closed Anduin2017 closed 5 years ago

Anduin2017 commented 5 years ago

[//]: <Don't delete any header! Please fill out the form or your bug report will not be considered!>

Environment

How to repro

And then the app was not upgraded and still 3.1.0. No matter how many times I refresh. I even tried uninstalling the Kahla PWA app and reinstall it. Still 3.1.0

Expected situation

I expect that the app could be upgraded to 3.1.1.

Other information

Is there something wrong with our service worker?

xxyzz commented 5 years ago

I think we should add cache-control and expires headers to the kahla.app server. Although the service worker tries to fetch after using the cached files, it gets them from the browser disk cache.

Screen Shot 2019-03-23 at 09 21 55