Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Rack Middlewares To Turbocharge Your Ruby Webapps (rubyinside.com)
36 points by sant0sk1 on Oct 14, 2009 | hide | past | favorite | 5 comments


What middlewares are you guys using in production?

Most of these seem pretty gimicky.


They're mostly gimmicky because they were all made for a middleware contest. Even their gimmickiness doesn't really go against the goals of the contest, the primary one being "to encourage Ruby developers to explore the possibilities".

In the end, even if very few end up being actually useful, there will be plenty of good short examples using a variety of different Rack tricks.

That said. Rack::Cache. And I wrote myself for one site that displays some extra info if a request comes from certain IPs (i.e. mine).


If I had to guess, I think Rack::Cache is very popular - http://tomayko.com/src/rack-cache/ - and not so gimmicky :)


I use Rack::Flash (http://github.com/nakajima/rack-flash) in a bunch of Sinatra apps.


I am using Rack::Deflater to gzip output, as there is no easy way to do this with lighttpd.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: