i am using apache and have a domain e.g.: www.example.com. I redirected example.com to www.example.com by using this:
https://stackoverflow.com/a/1100363/441907
I also have a virtual host entry for www.example.com.
I had then performance issues which were resolved by putting www.example.com into my hosts file for 127.0.0.1.
My Question is:
Would i gain performance improvements by also putting example.com into the hosts file or does this make no sense since it simply gets resolved to www.example.com which is already in the hosts file?