I'm trying to test a website on the iphone simulator, I made some javascript changes and my javascript files are being loaded from cache.
I see the old version files with safari web inspector, resources tab (on simulator window), also the network calls have status 304. I already disabled cache on macos Safari. I already tried deleting the safari cache on the simulator settings. Safari outside the emulator is loading the new files correctly (I emptied/disabled the cache).
I'm using Simulator (10.0 SimulatorAPP-745.10 with iOS 10.3) from XCode on Sierra
How do I delete or disable the simulator cache?
For anyone coming in in 2018 : if you have a Safari attached, click on Network tab, then on the top line, "Ignore cache resources" icon ( just next to "Export" button ).
Seems to do the trick.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With