Joshua Peek
|
5de340e79f
|
Ensure objects cached with MemoryStore are immutable
|
2008-08-19 19:20:10 -05:00 |
|
Joshua Peek
|
a4da8175a2
|
Replace MemoryStore mutex with a monitor to avoid issues with nested calls
|
2008-08-18 20:17:08 -05:00 |
|
Joshua Peek
|
b8b30985d5
|
Marshal FileStore values
|
2008-08-13 20:57:26 -05:00 |
|
Joshua Peek
|
e5b1ab7cc3
|
MemoryStore is the only "unsafe" store. Make it threadsafe by default.
|
2008-08-06 14:54:18 -05:00 |
|
Joshua Peek
|
94cf6675d5
|
Cleanup ActiveSupport::Cache::ThreadSafety module and add test coverage
|
2008-07-17 15:29:30 -05:00 |
|
Jeremy Kemper
|
f47c81ff37
|
Fall back to #to_s for cache key expansion
|
2008-06-20 00:25:41 -07:00 |
|
jweiss
|
9e1d506a8c
|
Support options passed to ActiveSupport::Cache :mem_cache_store [#14 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-04-17 12:58:31 -05:00 |
|
Jeremy Kemper
|
e59de6046c
|
Add a handful of cache store tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-01 01:43:47 +00:00 |
|
Jeremy Kemper
|
f6d8526659
|
require abstract_unit directly since test is in load path
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-05 13:31:04 +00:00 |
|
David Heinemeier Hansson
|
2a9ad9ccbc
|
Moved the caching stores from ActionController::Caching::Fragments::* to ActiveSupport::Cache::*. If you're explicitly referring to a store, like ActionController::Caching::Fragments::MemoryStore, you need to update that reference with ActiveSupport::Cache::MemoryStore [DHH] Deprecated ActionController::Base.fragment_cache_store for ActionController::Base.cache_store [DHH] All fragment cache keys are now by default prefixed with the 'views/' namespace [DHH] Added ActiveRecord::Base.cache_key to make it easier to cache Active Records in combination with the new ActiveSupport::Cache::* libraries [DHH] Added ActiveSupport::Gzip.decompress/compress(source) as an easy wrapper for Zlib [Tobias Luetke] Included MemCache-Client to make the improved ActiveSupport::Cache::MemCacheStore work out of the box [Bob Cottrell, Eric Hodel] Added config.cache_store to environment options to control the default cache store (default is FileStore if tmp/cache is present, otherwise MemoryStore is used) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-03 21:05:12 +00:00 |
|