Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add Rack::Builder#warmup method for app preloading. #617
With complex frameworks like Rails, many dependencies are auto-loaded
With this patch, config.ru can simply make requests via warmup to
added a commit
this pull request
Oct 26, 2013
In a typical Rails config.ru (and maybe you are talking about other cases), isn't all the middleware already loaded after this?
require ::File.expand_path('../config/environment', __FILE__) run Rails.application
if i stick a breakpoint at the end of that and inspect