Yehuda Katz + Carl Lerche
|
ee7d4c47e7
|
Fixes bug where Memcached connections get corrupted when an invalid expire is passed in [#2854 state:resolved]
|
2009-07-01 16:56:43 -07:00 |
|
Yehuda Katz + Carl Lerche
|
1026d7706f
|
Original cache objects should not be immutable [#2860 state:resolved]
Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
|
2009-07-01 12:16:55 -07:00 |
|
Pratik Naik
|
66eb05821b
|
Use stubbing instead of sleep() in File store cache tests
|
2009-06-21 15:25:28 +01:00 |
|
Pratik Naik
|
b5775c2b3e
|
Add expiry support File cache store [#1693 state:resolved] [Roman Shterenzon, Pratik Naik]
|
2009-06-21 15:25:28 +01:00 |
|
Joshua Peek
|
6ef329d325
|
Ensure Memcache local cache returns duplicated values [#2302 state:resolved]
|
2009-05-27 14:54:58 -05:00 |
|
Bryan Helmkamp
|
36058f4504
|
Use duck typing to also allow MemCache-like object when initializing a MemCacheStore
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2009-05-19 16:58:04 -07:00 |
|
Bryan Helmkamp
|
e2ed1a1ca4
|
Allow MemCacheStore to be initialized with a MemCache object instead of addresses and options
|
2009-05-19 10:54:56 -07:00 |
|
Joe Van Dyk
|
29550cc91f
|
Add ability to get multiple memcached keys at the same time (via MemCacheStore#read_multi).
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2009-05-18 13:43:56 -07:00 |
|
Jeremy Kemper
|
595e03336f
|
Remove rarely-used DRb cache store
|
2009-04-17 21:53:17 -07:00 |
|
Jeremy Kemper
|
7bcfff4457
|
Explicit test dependencies
|
2009-03-28 23:56:14 -07:00 |
|
Joshua Peek
|
2e69db18ce
|
Only dup local cache values if duplicable [#1653 state:resolved]
|
2009-01-28 21:20:46 -06:00 |
|
Lourens Naude
|
b08c968875
|
Decouple the local cache strategy from MemCacheStore for reuse with other remote stores [#1653 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2009-01-17 18:05:48 -06:00 |
|
Nahum Wild
|
a53ad5bba3
|
Added in a local per request cache to MemCacheStore. It acts as a buffer to stop unneccessary requests being sent through to memcache [#1653 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2009-01-15 21:29:32 -06:00 |
|
Jeremy Kemper
|
f927a60d0f
|
Require mocha >= 0.9.0 for AS tests
|
2008-11-22 19:19:12 -08:00 |
|
Luca Guidi
|
4ccbc5dffb
|
Increment the version of our modified memcache_client code to prevent users with the gem installed not seeing our changes.
The changes will be submitted upstream.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1239 state:committed]
|
2008-11-06 19:59:02 +00:00 |
|
Doug Barth
|
47be090d37
|
Skip tests that depend on memcached if not running.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-10-17 18:09:38 +02:00 |
|
Doug Barth
|
4b63c2700f
|
Bring MemCacheStore and CompressedMemCacheStore inline with expected counter manipulation semantics.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-10-17 18:09:27 +02:00 |
|
Doug Barth
|
c3d6205a4b
|
Fix cache counter semantics for MemoryCache, FileStoreCache, and (presumably) the DRbStore.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-10-17 18:09:26 +02:00 |
|
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 |
|