How to remove Safari ios cache

I am trying to test a site on an iphone simulator, I made some changes to javascript and my javascript files are loaded from the cache.

I see the old version files with the safari web inspector, the resources tab (in the simulator window), and also network calls have the status of 304. I already disabled the cache on macos Safari. I already tried to remove the Safari cache in the simulator settings. Safari outside the emulator correctly uploads new files (I emptied / disabled the cache).

I am using Simulator (10.0 SimulatorAPP-745.10 with iOS 10.3) from Xcode on Sierra

How to remove or disable simulator cache?

+6
source share
1 answer

For everyone coming in 2018: if you have Safari connected, click on the "Network" tab, and then on the top line, click the "Ignore cache resources" icon (next to the "Export" button).

enter image description here

It seems to do the trick.

+7
source

Source: https://habr.com/ru/post/1272429/


All Articles