after_response 0.8
AfterResponse provides callbacks into the Passenger2 and Passenger3 (and soon, Unicorn) request cycle. The main goal is to delay as much non-critical processing until later, delivering the response to the client application sooner. This would mainly include logging data into a Mixpanel-like service, sending email and other tasks that do not affect the response body in any way.