Added MemCacheStore to fragment caching #449 [Lucas Carlson]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@385 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 0d1e3846
......@@ -243,6 +243,12 @@ def initialize(address = 'druby://localhost:9192')
end
end
class MemCacheStore < MemoryStore
def initialize(address = 'localhost')
@data = MemCache.new(address)
end
end
class FileStore
def initialize(cache_path)
@cache_path = cache_path
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册