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

Resources (img, css, javascript) are not being refreshed from the cache after new releases #2563

Open
jmiranda opened this issue Jul 30, 2021 · 0 comments

Comments

@jmiranda
Copy link
Member

This is obvious, but we currently don't handle the case where resources are updated in a new deployment, but the browser cache holds onto an old version.

I think the resources plugin (asset pipeline in Grails 3) provides a mechanism for this, but not all css, img, javascript files are using the resources plugin. So we may need to add a request parameter (with app version as a value) to these links so they are refreshed automatically.

Temporary workaround:
Hard-refresh the page to refresh the web resources

image

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

1 participant