search for: entitystor

Displaying 1 result from an estimated 1 matches for "entitystor".

Did you mean: entitystore
2011 Nov 05
3
How to get Rails 3.1's Cache store (FileStore) to work with Rack::Sendfile
...erflow question I posted <http://stackoverflow.com/q/7980106/61018>. # The solution The solution would be to enable whatever''s needed to get Rack::Cache to serve files using X-Sendfile through Rack::Sendfile. After poking around Rack::Cache, I found out that none of the Rack::Cache Entitystores are used -- what''s being used is Rails'' own storage solution<https://github.com/rails/rails/blob/3-1-stable/activesupport/lib/active_support/cache/file_store.rb> . Is there a reason that FileStore doesn''t support Rack::Sendfile at the moment (why it uses Marshal)...