I currently have the following:
use Rack::Rewrite use Rack::Cache, {:verbose=>true, :metastore=>\"memcached://localhost:11211/rack-cache/meta\", :entitysto
In response to Maletor, for how to exclude certain files from being gzip'd, see:
http://icelab.com.au/articles/wrapping-rack-middleware-to-exclude-certain-urls-for-rails-streaming-responses/
tried it (in Sinatra) and works great.