# session_performance_fix.rb

Path: | lib/action_controller/cgi_ext/session_performance_fix.rb
Last Update: | Tue Sep 16 12:24:06 +0000 2008

CGI::Session#create_new_id requires ‘digest/md5’ on every call. This makes sense when spawning processes per request, but is unnecessarily expensive when serving requests from a long-lived process.

railsexpress.de/blog/articles/2005/11/22/speeding-up-the-creation-of-new-sessions

### Required files

cgi/session digest/md5

[Validate]