I'm debugging JavaScript on my iPhone and I can't get Safari to stop caching the JavaScript files. I have "Disable Caches" enabled under the develop menu, and have cleared the cache numerous times but as you can see in this screenshot some script files are still cached:
The only way I've found to fully clear the cache is to wipe all content from Safari though my phones settings.
As well, all requests returned by the server prohibit caching through response headers:
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0