我目前有以下几个:
use Rack::Rewrite use Rack::Cache,{:verbose=>true,:metastore=>"memcached://localhost:11211/rack-cache/Meta",:entitystore=>"memcached://localhost:11211/rack-cache/body"} use Rack::Rewrite use Rack::Lock use Rack::Deflater use ActionController::Failsafe use #<Class:0x007fb34be9ac90> use ActionController::Session::DalliStore,#<Proc:0x007fb34bea3638@(eval):8 (lambda)> use Rails::Rack::Metal use ActionController::ParamsParser use Rack::Methodoverride use Rack::Head use ActionController::StringCoercion use Sass::Plugin::Rack use Hassle use ActiveRecord::ConnectionAdapters::ConnectionManagement use ActiveRecord::QueryCache run ActionController::dispatcher.new
我可能错了,但将Deflater移到顶部是不是有意义?这样,任何和所有流量都被gzip压缩.
谢谢您的帮助.