aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/cache/mem_cache_store.rb
Commit message (Collapse)AuthorAgeFilesLines
* Update Orchestra instrumentations and move part of logging to Orchestra.José Valim2009-10-151-4/+7
|
* Restore split between require-time and runtime load path mungery. Simplifies ↵Jeremy Kemper2009-09-241-1/+1
| | | | vendor requires.
* Instrumenting cache stores.José Valim2009-09-201-13/+18
|
* Rollback AS bundler work and improve activation of vendored dependenciesJoshua Peek2009-09-131-1/+1
|
* Merge docrailsPratik Naik2009-07-251-3/+3
|
* Add expiry support File cache store [#1693 state:resolved] [Roman ↵Pratik Naik2009-06-211-4/+0
| | | | Shterenzon, Pratik Naik]
* Use duck typing to also allow MemCache-like object when initializing a ↵Bryan Helmkamp2009-05-191-1/+1
| | | | | | MemCacheStore Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Allow MemCacheStore to be initialized with a MemCache object instead of ↵Bryan Helmkamp2009-05-191-6/+11
| | | | addresses and options
* Add ability to get multiple memcached keys at the same time (via ↵Joe Van Dyk2009-05-181-0/+5
| | | | | | MemCacheStore#read_multi). Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Decouple the local cache strategy from MemCacheStore for reuse with other ↵Lourens Naude2009-01-171-58/+6
| | | | | | 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 Wild2009-01-151-4/+61
| | | | | | stop unneccessary requests being sent through to memcache [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Merge with docrailsPratik Naik2008-11-021-9/+33
|
* Bring MemCacheStore and CompressedMemCacheStore inline with expected counter ↵Doug Barth2008-10-171-0/+3
| | | | | | manipulation semantics. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* MemCacheStore#decrement should use data instance variable not local variable ↵Joshua Peek2008-07-161-15/+15
| | | | [#521 state:resolved]
* Add fragment_exist? and exist? methods to cache stores. [#203 state:resolved]José Valim2008-05-191-1/+7
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Allow access to mem_cache_store's stats hashTobias Lütke2008-04-291-0/+4
|
* Implement increment/decrement on cache storage engines, using read/write by ↵Tobias Lütke2008-04-291-0/+18
| | | | default and using atomic command on memcache
* By default rails will update keys in memcached when using Rails.cache.write. ↵Tobias Lütke2008-04-291-6/+5
| | | | Use :unless_exist => true flag to prevent existing keys from being overwritten.
* Support options passed to ActiveSupport::Cache :mem_cache_store [#14 ↵jweiss2008-04-171-1/+2
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Add #clear to mem_cache_store, flushes all cachesJeremy Kemper2008-02-211-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8916 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pass array of addressesJeremy Kemper2008-02-171-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 fragmentsDavid Heinemeier Hansson2008-02-071-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 Kemper2008-02-011-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 => trueJeremy Kemper2008-02-011-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 raisingDavid Heinemeier Hansson2008-01-221-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 Hansson2008-01-031-0/+51
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