Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

poorcody

macrumors 65816
Original poster
Jul 23, 2013
1,418
1,878
I have a strange problem... I keep disabling Safari's Prefetch function because of some odd behavior with my router. I enter this command into Terminal:

Code:
defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false

Great, it seems to work fine. I verify with:

Code:
defaults read com.apple.safari WebKitDNSPrefetchingEnabled

And it returns 0 as it should.

However, as my router problem seems to return, I have found that Safari will delete that preference seemingly randomly after Safari starts. In once instance, I turned Prefetch off, started Safari, and continually checked the Prefetch value about 10 times in a row, without doing anything else. The setting disappeared by the fourth our fifth check. It seems to happen automatically by Safari.

Anyone have any idea why this is or how to avoid it? I have a script to turn it back off, but I think you have to restart Safari for it to take effect, so I'm not sure how useful it really is.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.