Methods
N
R
W
Constants
RAILS = self
Class Public methods
new(store = RAILS_CACHE)

TODO: Finally deal with the RAILS_CACHE global

    # File actionpack/lib/action_dispatch/http/rack_cache.rb, line 12
12:     def initialize(store = RAILS_CACHE)
13:       @store = store
14:     end
resolve(uri)
   # File actionpack/lib/action_dispatch/http/rack_cache.rb, line 7
7:     def self.resolve(uri)
8:       new
9:     end
Instance Public methods
read(key)
    # File actionpack/lib/action_dispatch/http/rack_cache.rb, line 16
16:     def read(key)
17:       if data = @store.read(key)
18:         Marshal.load(data)
19:       else
20:         []
21:       end
22:     end
write(key, value)
    # File actionpack/lib/action_dispatch/http/rack_cache.rb, line 24
24:     def write(key, value)
25:       @store.write(key, Marshal.dump(value))
26:     end