I’m wondering why Safari on my Mac always slower load on facebook.com, but fast in Google Chrome. I did set the DNS for my network to Google DNS 188.8.131.52 and 184.108.40.206 and it doesn’t help much.
facebook.com reverse the IP differently from different location, if your browser prefetching it, maybe slow down from the previous IP you get. So I tried to disable the DNS Prefetching using the Terminal.
defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false
If I want to re-enable again, I can run this in Terminal.
defaults delete com.apple.safari WebKitDNSPrefetchingEnabled
I feel that the loading speed is faster than before.