How to turn off Safari's prefetch feature?

与世无争的帅哥 提交于 2019-12-12 11:41:56

问题


Safari has a "feature" which preloads pages while you are typing in the url.

Now for most users this is indeed a feature, speeding up page loads. But for web developers it can cause trouble - especially when it automatically loads scripts (such as importers or background scripts) that you have used earlier but have no intention of running currently.

This happens under Safari 8.x but it is possible that this was also the case on older versions.

Also, note that this feature is distinct from "DNS prefetch" which is the only related explanation I have come across - I have disabled DNS prefetch and that did not solve this issue...


回答1:


The answer is much simpler than I thought. :)



来源:https://stackoverflow.com/questions/29214246/how-to-turn-off-safaris-prefetch-feature

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!