aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/cache
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-035-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