I have a website that uses CakePHP and in the current database configuration the developer before me is using the public IP of our database server. Should I use the local IP when accessing the web server? Will there be any kind of performance increase gained by switching to the local IP?
My understanding is that the router will look at the external IP and realize that it's an address on it's own network and just route the traffic accordingly. Considering that sort of thing is more than likely cached in a good router my guess is I should not actually see any difference.
Also, is there any actual reason for using the external IP vs the local one?
Thanks in advance for any help!