0

Since i upgrade my app on my development server, the request are terribly slow. Event if the log seems to render quite quickly, it take 10-15 second for the loading to be complete (event if the page is already fully loaded)

My configuration :

  • Rails 3.2.1
  • Ruby 1.9.3-p125 (rvm)
  • Standalone Passenger (3.0.11)

I do not have this kind of issue on my development machine, so i guess the problem is not coming from my application

Simone Carletti
  • 173,507
  • 49
  • 363
  • 364
AkyRhO
  • 187
  • 2
  • 11
  • After some search, it occurs that application.js is not served properly (incomplete file) - does this sound familiar to anybody? – AkyRhO Feb 23 '12 at 11:14
  • it has to be something with 'rails asset pipeline' - google that, also did you checked that http://stackoverflow.com/questions/6826154/rails-3-1rc4-asset-pipeline-broke-after-ruby-update-how-to-re-activate-configur – mpapis Feb 23 '12 at 13:05
  • Are application assets being served from the server? Are logs indicating that js/css/images being served? – Kunday Mar 09 '12 at 06:01

2 Answers2

1

I had a very similar problem. Found this question ( Slow assets ruby 1.9.3, macos, rails 3.2 ) which helped me discover it was chrome where the problem was occurring. Still don't know why, or how to fix it.

Community
  • 1
  • 1
Forrest
  • 1,095
  • 9
  • 19
0

In my case it was Rails Panel extension that was slowing Chrome. I just disabled it and it the app became 3 times faster.

Martinos
  • 2,116
  • 1
  • 21
  • 28