I'm using Twitter Bootstrap and in my code I display a modal with the remote option that point to an external HTML file. The HTML file is loaded fine and the modal is displayed fine. The problem is that once I make a change to the html file and fire it up again it doesn't load the change until I delete the browser cache.
This is my code:
$('#modal').modal({
remote: baseUrl + 'Content/templates/speedtest.html'
});
speedtest contains the following:
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">Title</h4>
</div>
<div class="modal-body">
My Message
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
During development it's very unusful since I want to make a change to the html and then see that change quickly without having to delete the cache.
Also, I'm afraid that after uploading the site if I make changes to the html, visitors will get irrelevant results.
How can I disable/configure the cache?
Thanks