Module: Async::HTTP::Cache::Store

Defined in:
lib/async/http/cache/store.rb,
lib/async/http/cache/store/vary.rb,
lib/async/http/cache/store/memory.rb

Overview

Provides cache storage implementations and utilities.

Defined Under Namespace

Classes: Memory, Vary

Constant Summary collapse

VARY =
"vary"
ACCEPT_ENCODING =
"accept-encoding"

Class Method Summary collapse

Class Method Details

.defaultObject

Create a default cache store with Vary support over an in-memory store.



16
17
18
# File 'lib/async/http/cache/store.rb', line 16

def self.default
	Vary.new(Memory.new)
end