Clear DNS cache OSX

OSX has an extensive cache mechanism… But for developers it can be quite a pain.

It is actually easy to bypass. Open terminal and enter the command:

sudo su [type in your mac pass] dscacheutil -flushcache

That’s it. Keep remembering, close your applications by using Cmd+Q……