I have a little app I'm writing using jQuery and JQM.
The page loads an application javascript file.
However, when I update the js file on the server and open the app from the iPhone, the changes in the js file have not been loaded.
The HTML changes are loaded but not the js file.
<script type="text/javascript" src="application.js"></script>
Should I add a unique identifier to application.js? so;
<script type="text/javascript" src="application.js?new1"></script>
and then
<script type="text/javascript" src="application.js?new2"></script>
Any thoughts?
edit
Changing the url like I did above works but I shouldn't have to.