How to prevent caching of WebView

WebViews are cached in Corona SDK, and there seems to be no way to clear the cache, short of moving the project folder elsewhere on my hard drive. 

What or who is caching this webview, and is there any way to clear it?

Note that:

  1. Using &cachebust=[random number] does not work - still caches

  2. I develop the web pages in Chrome, where caching can be disabled. This works fine. 

  3. Caching works properly on iOS / Android, it’s just the Mac OSX Simulator that has the problem. 

  4. Emptying Safari caches doesn’t help.

I saw this thread from 2013 but it does not work for me: 

https://forums.coronalabs.com/topic/33286-how-to-prevent-cache-for-the-webview/

Any help most appreciated! 

Thanks

Mat

Caching works by comparing the URL (and a few other things) so if your URL is unique then it won’t get cached.  If however you are using AJAX then a different set of rules apply.   If using jQuery then you need to add this

$.ajaxSetup({ cache: false });

Caching works by comparing the URL (and a few other things) so if your URL is unique then it won’t get cached.  If however you are using AJAX then a different set of rules apply.   If using jQuery then you need to add this

$.ajaxSetup({ cache: false });