elwinvandos / GoGroceries

MIT License
0 stars 0 forks source link

Client caches always remain stale after update #46

Closed elwinvandos closed 1 year ago

elwinvandos commented 1 year ago

When pushing new updates users are currently always forced to hard (CTRL F5) refresh to get the new functionality.

See https://www.reddit.com/r/Blazor/comments/130e1ya/blazor_wasm_getting_clients_to_update_after_a/

elwinvandos commented 1 year ago

Issue still persists after:

  1. https://github.com/elwinvandos/GoGroceries/pull/47
  2. Disabling offline support
elwinvandos commented 1 year ago

Option: build an API endpoint that returns a version and compare client version with this, if they dont match show a force reload button.