Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prooblem to push updates/changes and force cache too reload #95

Open
Christiazz opened this issue Sep 8, 2023 · 1 comment
Open

Prooblem to push updates/changes and force cache too reload #95

Christiazz opened this issue Sep 8, 2023 · 1 comment

Comments

@Christiazz
Copy link

the package is amazing, however, I am ecountering a lot of issues anytime I update the front-end

@romeltech
Copy link

romeltech commented Dec 15, 2023

I had the same problem especially people on iOS Safari.

My current solution is saving a version string on database. I have app_settings to store the version, add one field into your users table.

Everytime the app opens you should fetch the app_settings and compare to what the user have if its not equal in the same get request update the user's version and in response force to reload the app.

I know you'll spend one get request from DB but you will be assured it will force to reload and get the updated files of your app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants