Cacheing issue?
My Macbook (OS High Sierra) keeps showing an old version of a website that I manage - I have tried everything I can find to clear my cache - anyone got any ideas?! Thank you!
My Macbook (OS High Sierra) keeps showing an old version of a website that I manage - I have tried everything I can find to clear my cache - anyone got any ideas?! Thank you!
DNS takes time to propagate. If you have modified the records for a domain the old data may be cached on DNS servers in-between you & the main DNS record (at your router, at your ISP etc).
Try using another DNS server, maybe try Google DNS.
Public DNS | Google Developers
You can check what IP Google DNS is reporting for the site in question…
Compare that to the one reported on your Mac, try this in Terminal
nslookup name-of-site.com
The IP should be shown in the output - does that match the new IP?
Another provider is Quad9
Quad 9 | Internet Security and Privacy in a Few Easy Steps
This covers setting a DNS server on your Mac.
http://osxdaily.com/2015/12/05/change-dns-server-settings-mac-os-x/
Eventually the DNS gets propagated & it stops happening.
If you are the controller of the DNS records then consider setting a short TTL (time to live) when updating records. It causes the caches to be cleared faster & can reduce this issue.
P.S. If you are in control of the router you can try rebooting that as it can cache DNS for the local network too.
DNS takes time to propagate. If you have modified the records for a domain the old data may be cached on DNS servers in-between you & the main DNS record (at your router, at your ISP etc).
Try using another DNS server, maybe try Google DNS.
Public DNS | Google Developers
You can check what IP Google DNS is reporting for the site in question…
Compare that to the one reported on your Mac, try this in Terminal
nslookup name-of-site.com
The IP should be shown in the output - does that match the new IP?
Another provider is Quad9
Quad 9 | Internet Security and Privacy in a Few Easy Steps
This covers setting a DNS server on your Mac.
http://osxdaily.com/2015/12/05/change-dns-server-settings-mac-os-x/
Eventually the DNS gets propagated & it stops happening.
If you are the controller of the DNS records then consider setting a short TTL (time to live) when updating records. It causes the caches to be cleared faster & can reduce this issue.
P.S. If you are in control of the router you can try rebooting that as it can cache DNS for the local network too.
It seems DNS issue. Try flush the DNS record.
Navigate to Applications -> Utilities -> Terminal
Mac OS X Yosemite and later
sudo killall -HUP mDNSResponder
Many thanks. I had tried this and it didn't work. Safari and Chrome are both directing me to an old IP for the website - the site changed to a new server recently. When I Ping the site it is the old IP
It appears my Mac is sending me to an old IP address for a website I use all the time - the website has moved to a new server and I need to tell my computer to not keep sending me to the old version of the website but I don't know how!
Are you talking about content caching by entering in system preferences > sharing .
The isn't doing anything in the Terminal 😟 But thank you!
Cacheing issue?