First requests are painfully slow
- by winSharp93
I am running Redmine under IIS using Zoo. Installation was done using the Web Platform Installer and the default configuration has not been touched.
However, when using the application, the first requests take very long to complete (sometimes more than one minute). During that time, the ruby.exe causes some CPU load (about 15%).
According to the log files, it's mainly the views taking that long to render:
Started GET "/redmine/login" for IP at 2012-09-04 09:54:08 +0200
Processing by AccountController#login as HTML
Rendered account/login.html.erb within layouts/base (42150.5ms)
Completed 200 OK in 43508ms (Views: 43008.5ms | ActiveRecord: 0.0ms)
Rendered account/login.html.erb within layouts/base (42435.1ms)
Completed 200 OK in 44100ms (Views: 43523.3ms | ActiveRecord: 0.0ms)
After the initial delay, further request times are totally acceptable.
Any ideas on how to speed up the warmup time?