silexlabs/Silex

V3 Suggestion: Notification Pop-Up to clear cache on new updates

GetLikha opened this issue · 4 comments

web.snapchat.com has a feature where if they have a new update, it will notify the user if there's a new update. It'll ask them to set the update by pressing a reload button on the notification. Once they click it, the page will reload and the update will be implemented.

I'm guessing upon reload, it clears the cache for that specific site so the browser will be forced to fetch new files, applying the update.

I'm not entirely sure when a new Silex V3 update is implemented, so I'm not aware if I'm using an old version. For inexperienced users, it might be confusing to have to clear the cache to use the latest version of V3.

Just a suggestion 🙂.

lexoyo commented

Yes that is true
There is a similar mechanism in v2
At least the user should know what's new in the version right ? Maybe since last time they opened silex? Or maybe use the version used to save the website

lexoyo commented

The update button would mean that there is a mechanism of pwa
Pwa means thet the whole front end is stored in the user's browser. Then it makes sense to have an update buttton. But in the case of silex i didn't implement the pwa mechanism, just a simple cache. So for now the update button would be useless as the app is updated automatically

The update button would mean that there is a mechanism of pwa Pwa means thet the whole front end is stored in the user's browser. Then it makes sense to have an update buttton. But in the case of silex i didn't implement the pwa mechanism, just a simple cache. So for now the update button would be useless as the app is updated automatically

Ahh okay got it

image
What I meant btw

But thanks for the clarification