Rack Static If Present
Like Rack::Static. Except only if there is a static file to serve.
use Rack::StaticIfPresent, :urls => ["/"], :root => "public"
This would serve files in all directories from public if they exist, or continue down the middleware chain if they don't.
Copyright © 2009 Sam Schenkman-Moore. See LICENSE for details.