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

Disable caching in browser #59

Open
MohamedBeydoun opened this issue May 24, 2020 · 3 comments · Fixed by #62
Open

Disable caching in browser #59

MohamedBeydoun opened this issue May 24, 2020 · 3 comments · Fixed by #62
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers p0

Comments

@MohamedBeydoun
Copy link
Member

MohamedBeydoun commented May 24, 2020

Should disable caching old builds to make sure user's don't have to constantly clear cache to view changes.

https://stackoverflow.com/questions/40243633/disable-nginx-cache-for-javascript-files

https://stackoverflow.com/questions/44605647/long-term-caching-with-webpack-chunkhash-and-cache-control

@MohamedBeydoun MohamedBeydoun added enhancement New feature or request good first issue Good for newcomers labels May 24, 2020
@MohamedBeydoun MohamedBeydoun linked a pull request May 25, 2020 that will close this issue
@MohamedBeydoun MohamedBeydoun self-assigned this May 25, 2020
@ValerianClerc
Copy link
Member

jk this doesn't work :(

@MohamedBeydoun
Copy link
Member Author

we need to disable caching the index.html file from our nginx config

@aehwany aehwany self-assigned this Jun 26, 2020
@MohamedBeydoun
Copy link
Member Author

@aehwany 's solution in dev works (latest updates to the ui appeared after refreshing the page without clearing cache)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers p0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants