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
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