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

Better cache handling/invalidation #1484

Open
paddymul opened this issue Jul 22, 2024 · 1 comment
Open

Better cache handling/invalidation #1484

paddymul opened this issue Jul 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@paddymul
Copy link

Problem

When updating voila, users get stale 4321.voila.js files. This causes improper loading. To fix this we needed to send users complex cache clearing instructions.

Proposed Solution

It would be nice if the js build process appended a version number so new releases of voila had distinct filenames. That or a query-string cache buster. Even better if this is configurable via a setting so we can force cache busting with new releases.

Additional context

@paddymul paddymul added the enhancement New feature or request label Jul 22, 2024
@trungleduc
Copy link
Member

It would be nice if the js build process appended a version number so new releases of voila had distinct filenames.

I agree. A PR fixing this would be very welcome!

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

No branches or pull requests

2 participants