Browse files

Fix default cache store documentation.

It's actually the FileStore.

Fixes #8130.
  • Loading branch information...
steveklabnik committed Nov 9, 2012
1 parent 3738ef2 commit 4d61d1f8f58f7db6f2bffee52cc2debc66ba7657
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/source/
@@ -345,8 +345,6 @@ config.cache_store = :memory_store, { :size => 64.megabytes }
If you're running multiple Ruby on Rails server processes (which is the case if you're using mongrel_cluster or Phusion Passenger), then your Rails server process instances won't be able to share cache data with each other. This cache store is not appropriate for large application deployments, but can work well for small, low traffic sites with only a couple of server processes or for development and test environments.
-This is the default cache store implementation.
### ActiveSupport::Cache::FileStore
This cache store uses the file system to store entries. The path to the directory where the store files will be stored must be specified when initializing the cache.
@@ -359,6 +357,8 @@ With this cache store, multiple server processes on the same host can share a ca
Note that the cache will grow until the disk is full unless you periodically clear out old entries.
+This is the default cache store implementation.
### ActiveSupport::Cache::MemCacheStore
This cache store uses Danga's `memcached` server to provide a centralized cache for your application. Rails uses the bundled `dalli` gem by default. This is currently the most popular cache store for production websites. It can be used to provide a single, shared cache cluster with very a high performance and redundancy.

0 comments on commit 4d61d1f

Please sign in to comment.