Matt Seymour

In some cases people have been finding ruby web applications in development very slow to respond (upwards of 3-7 seconds). The issue seems to be caused by the introduction of a new webrick configuration option DoNotReverseLookup which has a default value of nil (false). By simply changing the value of this (overriding the global default) webrick will not perform a reverse DNS lookup for each request substantially speeding up each page request.

Solution:

Change the default value of the webrick configuration option DoNotReverseLookup to true.

Old:

:DoNotReverseLookup => nil,

New:

:DoNotReverseLookup => true,