How to disable cache on IOS safari?

后端 未结 6 1174
广开言路
广开言路 2021-01-31 09:19

Is there a way to disable caching on ipad/iphone? I want to run some automated tests for non-cache experience.

6条回答
  •  鱼传尺愫
    2021-01-31 09:24

    Doesn't seems like possible. On desktop safari, there is a option to disable cache in developer tools, however there isn't one on mobile safari. I didn't find the option in other browsers like opera neither.

    If you wanna try, you can overwrite a desktop firefox's user agent string and make it a fake ipad mobile browser, and then disable cache. But that will depends on what you want to test and it could not work at all.

    Hope this helps.

提交回复
热议问题