Namespace
Module
Methods
Class Public methods
new(store = Rails.cache)
Source:
# File actionpack/lib/action_dispatch/http/rack_cache.rb, line 37
def initialize(store = Rails.cache)
@store = store
end
resolve(uri)
Source:
# File actionpack/lib/action_dispatch/http/rack_cache.rb, line 33
def self.resolve(uri)
new
end
Instance Public methods
exist?(key)
Source:
# File actionpack/lib/action_dispatch/http/rack_cache.rb, line 41
def exist?(key)
@store.exist?(key)
end
open(key)
Source:
# File actionpack/lib/action_dispatch/http/rack_cache.rb, line 45
def open(key)
@store.read(key)
end