Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add expiry support File cache store [#1693 state:resolved] [Roman ↵ | Pratik Naik | 2009-06-21 | 2 | -5/+13 |
| | | | | Shterenzon, Pratik Naik] | ||||
* | Ensure Memcache local cache returns duplicated values [#2302 state:resolved] | Joshua Peek | 2009-05-27 | 1 | -1/+1 |
| | |||||
* | Use duck typing to also allow MemCache-like object when initializing a ↵ | Bryan Helmkamp | 2009-05-19 | 1 | -1/+1 |
| | | | | | | MemCacheStore Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Allow MemCacheStore to be initialized with a MemCache object instead of ↵ | Bryan Helmkamp | 2009-05-19 | 1 | -6/+11 |
| | | | | addresses and options | ||||
* | Add ability to get multiple memcached keys at the same time (via ↵ | Joe Van Dyk | 2009-05-18 | 1 | -0/+5 |
| | | | | | | MemCacheStore#read_multi). Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 1 | -0/+2 |
| | |||||
* | Merge branch 'master' into cherry | Jeremy Kemper | 2009-04-20 | 1 | -0/+5 |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: activesupport/CHANGELOG activesupport/lib/active_support/core_ext/class/delegating_attributes.rb activesupport/lib/active_support/core_ext/hash/conversions.rb activesupport/lib/active_support/core_ext/module/attribute_accessors.rb activesupport/lib/active_support/core_ext/string/multibyte.rb activesupport/lib/active_support/core_ext/time/calculations.rb activesupport/lib/active_support/deprecation.rb | ||||
| * | Nicer name for anonymous local cache middleware class | Joshua Peek | 2009-04-02 | 1 | -0/+5 |
| | | |||||
* | | Remove rarely-used DRb cache store | Jeremy Kemper | 2009-04-17 | 1 | -14/+0 |
| | | |||||
* | | Fix require | Jeremy Kemper | 2009-03-29 | 1 | -1/+1 |
| | | |||||
* | | Explicit File#atomic_write dependency | Jeremy Kemper | 2009-03-29 | 1 | -0/+2 |
|/ | |||||
* | Only dup local cache values if duplicable [#1653 state:resolved] | Joshua Peek | 2009-01-28 | 1 | -1/+1 |
| | |||||
* | Decouple the local cache strategy from MemCacheStore for reuse with other ↵ | Lourens Naude | 2009-01-17 | 2 | -58/+110 |
| | | | | | | remote stores [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Added in a local per request cache to MemCacheStore. It acts as a buffer to ↵ | Nahum Wild | 2009-01-15 | 1 | -4/+61 |
| | | | | | | stop unneccessary requests being sent through to memcache [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Lazy-require DRb for ActiveSupport::Cache::DRbStore | Jeremy Kemper | 2008-11-23 | 1 | -3/+2 |
| | |||||
* | Merge with docrails | Pratik Naik | 2008-11-02 | 4 | -9/+49 |
| | |||||
* | Bring MemCacheStore and CompressedMemCacheStore inline with expected counter ↵ | Doug Barth | 2008-10-17 | 2 | -2/+10 |
| | | | | | | manipulation semantics. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix cache counter semantics for MemoryCache, FileStoreCache, and ↵ | Doug Barth | 2008-10-17 | 1 | -0/+1 |
| | | | | | | (presumably) the DRbStore. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Removed monitor from MemoryStore and created a seperate threadsafe store ↵ | Joshua Peek | 2008-09-10 | 2 | -39/+57 |
| | | | | called SynchronizedMemoryStore | ||||
* | Fix indentation mismatch | Jeremy Kemper | 2008-09-08 | 1 | -1/+1 |
| | |||||
* | Ensure objects cached with MemoryStore are immutable | Joshua Peek | 2008-08-19 | 1 | -1/+1 |
| | |||||
* | Consistently use the framework's configured logger and avoid reverting to ↵ | Joshua Peek | 2008-08-18 | 1 | -2/+2 |
| | | | | RAILS_DEFAULT_LOGGER unless necessary. | ||||
* | Replace MemoryStore mutex with a monitor to avoid issues with nested calls | Joshua Peek | 2008-08-18 | 1 | -12/+24 |
| | |||||
* | Marshal FileStore values | Joshua Peek | 2008-08-13 | 1 | -2/+2 |
| | |||||
* | Account for the possibility of a nil options argument to ↵ | Jeffrey Hardy | 2008-08-13 | 1 | -4/+4 |
| | | | | CompressedMemCacheStore#read/#write | ||||
* | Ensure file atomic write uses the cache directory as its tmp folder | Joshua Peek | 2008-08-06 | 1 | -1/+1 |
| | |||||
* | Treat single C operations in MemoryStore as atomic | Joshua Peek | 2008-08-06 | 1 | -23/+8 |
| | |||||
* | Make FileStore use atomic writes | Joshua Peek | 2008-08-06 | 1 | -1/+1 |
| | |||||
* | MemoryStore is the only "unsafe" store. Make it threadsafe by default. | Joshua Peek | 2008-08-06 | 1 | -12/+43 |
| | |||||
* | MemCacheStore#decrement should use data instance variable not local variable ↵ | Joshua Peek | 2008-07-16 | 1 | -15/+15 |
| | | | | [#521 state:resolved] | ||||
* | Add fragment_exist? and exist? methods to cache stores. [#203 state:resolved] | José Valim | 2008-05-19 | 3 | -3/+19 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Add missing clear method to memory_store | Tobias Lütke | 2008-04-29 | 1 | -0/+4 |
| | |||||
* | Allow access to mem_cache_store's stats hash | Tobias Lütke | 2008-04-29 | 1 | -0/+4 |
| | |||||
* | Implement increment/decrement on cache storage engines, using read/write by ↵ | Tobias Lütke | 2008-04-29 | 1 | -0/+18 |
| | | | | default and using atomic command on memcache | ||||
* | By default rails will update keys in memcached when using Rails.cache.write. ↵ | Tobias Lütke | 2008-04-29 | 1 | -6/+5 |
| | | | | Use :unless_exist => true flag to prevent existing keys from being overwritten. | ||||
* | Add default options to file_store to make it align with the other cache ↵ | Michael Koziarski | 2008-04-26 | 1 | -2/+2 |
| | | | | | | stores. [monki] [#40 state:resolved] | ||||
* | Support options passed to ActiveSupport::Cache :mem_cache_store [#14 ↵ | jweiss | 2008-04-17 | 1 | -1/+2 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Add #clear to mem_cache_store, flushes all caches | Jeremy Kemper | 2008-02-21 | 1 | -0/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8916 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Pass array of addresses | Jeremy Kemper | 2008-02-17 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix that the options hash can be nil when coming from fragments | David Heinemeier Hansson | 2008-02-07 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | MemCacheStore#write and #delete return a boolean indicating whether the ↵ | Jeremy Kemper | 2008-02-01 | 1 | -5/+16 |
| | | | | | | operation succeeded git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8767 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | MemCacheStore#write uses add by default and set if :force => true | Jeremy Kemper | 2008-02-01 | 1 | -2/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8765 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Log an error to the console when the memcache server is raising | David Heinemeier Hansson | 2008-01-22 | 1 | -3/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Moved the caching stores from ActionController::Caching::Fragments::* to ↵ | David Heinemeier Hansson | 2008-01-03 | 5 | -0/+175 |
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 |