aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/cache
Commit message (Collapse)AuthorAgeFilesLines
* fixes a couple of wrong requiresXavier Noria2010-01-011-1/+1
|
* requires active_support/inflector/methods ↵Xavier Noria2010-01-011-0/+1
| | | | active_support/core_ext/string/inflections in local_cache.rb because it uses underscore
* requires active_support/core_ext/array/extract_options in mem_cache_store.rb ↵Xavier Noria2010-01-011-0/+1
| | | | because it uses extract_options!
* requires active_support/gzip in CompressedMemCacheStore because it uses ↵Xavier Noria2010-01-011-0/+2
| | | | ActiveSupport::Gzip
* Rdoc for changes introduced in e2ed1a1ca, 36058f450.David Vrensk2009-11-121-0/+5
| | | | | | [#3451 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Update Orchestra instrumentations and move part of logging to Orchestra.José Valim2009-10-151-4/+7
|
* Mute log info coming from the local_cache strategyPratik Naik2009-10-092-5/+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-203-44/+58
|
* Rollback AS bundler work and improve activation of vendored dependenciesJoshua Peek2009-09-131-1/+1
|
* Merge docrailsPratik Naik2009-07-251-3/+3
|
* Original cache objects should not be immutable [#2860 state:resolved]Yehuda Katz + Carl Lerche2009-07-011-1/+1
| | | Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
* Add expiry support File cache store [#1693 state:resolved] [Roman ↵Pratik Naik2009-06-212-5/+13
| | | | Shterenzon, Pratik Naik]
* Ensure Memcache local cache returns duplicated values [#2302 state:resolved]Joshua Peek2009-05-271-1/+1
|
* 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>
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-221-0/+2
|
* Merge branch 'master' into cherryJeremy Kemper2009-04-201-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 classJoshua Peek2009-04-021-0/+5
| |
* | Remove rarely-used DRb cache storeJeremy Kemper2009-04-171-14/+0
| |
* | Fix requireJeremy Kemper2009-03-291-1/+1
| |
* | Explicit File#atomic_write dependencyJeremy Kemper2009-03-291-0/+2
|/
* Only dup local cache values if duplicable [#1653 state:resolved]Joshua Peek2009-01-281-1/+1
|
* Decouple the local cache strategy from MemCacheStore for reuse with other ↵Lourens Naude2009-01-172-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 Wild2009-01-151-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::DRbStoreJeremy Kemper2008-11-231-3/+2
|
* Merge with docrailsPratik Naik2008-11-024-9/+49
|
* Bring MemCacheStore and CompressedMemCacheStore inline with expected counter ↵Doug Barth2008-10-172-2/+10
| | | | | | manipulation semantics. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix cache counter semantics for MemoryCache, FileStoreCache, and ↵Doug Barth2008-10-171-0/+1
| | | | | | (presumably) the DRbStore. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Removed monitor from MemoryStore and created a seperate threadsafe store ↵Joshua Peek2008-09-102-39/+57
| | | | called SynchronizedMemoryStore
* Fix indentation mismatchJeremy Kemper2008-09-081-1/+1
|
* Ensure objects cached with MemoryStore are immutableJoshua Peek2008-08-191-1/+1
|
* Consistently use the framework's configured logger and avoid reverting to ↵Joshua Peek2008-08-181-2/+2
| | | | RAILS_DEFAULT_LOGGER unless necessary.
* Replace MemoryStore mutex with a monitor to avoid issues with nested callsJoshua Peek2008-08-181-12/+24
|
* Marshal FileStore valuesJoshua Peek2008-08-131-2/+2
|
* Account for the possibility of a nil options argument to ↵Jeffrey Hardy2008-08-131-4/+4
| | | | CompressedMemCacheStore#read/#write
* Ensure file atomic write uses the cache directory as its tmp folderJoshua Peek2008-08-061-1/+1
|
* Treat single C operations in MemoryStore as atomicJoshua Peek2008-08-061-23/+8
|
* Make FileStore use atomic writesJoshua Peek2008-08-061-1/+1
|
* MemoryStore is the only "unsafe" store. Make it threadsafe by default.Joshua Peek2008-08-061-12/+43
|
* 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-193-3/+19
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add missing clear method to memory_storeTobias Lütke2008-04-291-0/+4
|
* 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.
* Add default options to file_store to make it align with the other cache ↵Michael Koziarski2008-04-261-2/+2
| | | | | | stores. [monki] [#40 state:resolved]
* 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