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:
Great, it seems to work fine. I verify with:
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.
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.