Slow assets ruby 1.9.3, macos, rails 3.2
This seems to have something to do with name resolution.
Using (chrome) and
- localhost:3000/ -- great performance
- 127.0.0.1:3000/ -- great performance
- hostname.local:3000/ - Terrible performance as you describe
This is unfortunate for me, as I have an alias set up in /etc/hosts to point to 127.0.0.1 that affects how the page gets displayed. So no testing of that in chrome.
I had the same problem.Try setting config.assets.debug = false
in development.rb
. It helped in my case.
We ran into this issue and solved it through using a pow server since it resolves to port 80.
To install pow
curl get.pow.cx | sh
Here is a link to the source for the paranoid.
Hope that helps.