synchrone / sandstorm-radicale

A calendars and contacts app for Sandstorm.io
https://apps.sandstorm.io/app/8kr4rvyrggvzfvc160htzdt4u5rfvjc2dgdn27n5pt66mxa40m1h
13 stars 3 forks source link

UI is asking to reload, since there's an update on server #4

Closed synchrone closed 8 years ago

synchrone commented 8 years ago

Because the FE JS caching login in inf-it's solution, it asks the user to click reload button after it's finished.

Since sandstorm is using dynamic frame subdomains per run, it's happening all the time.

Currently there is a hack to hide that notification, since we know it's not going to update resources unless a new grain is created.

Would be nice to solve #1 and thus this issue. For now it's hidden via https://github.com/synchrone/sandstorm-radicale/blob/master/.sandstorm/setup.sh#L21 hack

synchrone commented 8 years ago

Closing, since cache_handler.js is now committed in (tz-tz, I know..)