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

fix: ensure same mtime for js and code cache to prevent loading old code caches #261

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

edusperoni
Copy link
Collaborator

Potential fix for the following issue:

User installs Version 1. JS modification time = 0
Developer releases Version 2. JS modification time = 1
User runs app (Version 1). Cache modification time = 2
User updates app to Version 2. Cache time (2) > JS time (1) = load old cache

Still gathering information to see if this works well in all scenarios

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

Successfully merging this pull request may close these issues.

1 participant