I'm playing around with mobile sites at the moment and have a very basic two-page multipage front sheet. The second page contains a div datesandtimes_main and I inserted a script that did a pagebeforeshow to use $('#datesandtimes_main').load('datesandtimes.html');
It works fine
Only it's cacheing so if I change datesandtimes.html it will not show in the web app if I go back to page 1 and the back to page 2 again. Or if I hit refresh. In fact, the only time it *will* update is when I change the manifest version number.
Things I've tried:
- including the datesandtimes.html in the NETWORK (reject) section of the manifest
- Adding a timestamp on as a ?ts= in the .load (and it's at least trying to load different timstamped files every time according to chrome's network page)
- Changing the .load to a whole $.ajax and setting cache to false
Now, I'm stuck!