Jeremy Kemper
|
1b94d5dc65
|
Fix indentation mismatch
|
2008-09-08 18:10:23 -07:00 |
|
Joshua Peek
|
5de340e79f
|
Ensure objects cached with MemoryStore are immutable
|
2008-08-19 19:20:10 -05:00 |
|
Joshua Peek
|
c1a8690d58
|
Consistently use the framework's configured logger and avoid reverting to RAILS_DEFAULT_LOGGER unless necessary.
|
2008-08-18 23:36:13 -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 |
|
Jeffrey Hardy
|
282b420213
|
Account for the possibility of a nil options argument to CompressedMemCacheStore#read/#write
|
2008-08-13 04:19:31 -07:00 |
|
Joshua Peek
|
c6b7d0f344
|
Ensure file atomic write uses the cache directory as its tmp folder
|
2008-08-06 17:25:32 -05:00 |
|
Joshua Peek
|
fbc6129acd
|
Treat single C operations in MemoryStore as atomic
|
2008-08-06 17:03:42 -05:00 |
|
Joshua Peek
|
dfc83566b3
|
Make FileStore use atomic writes
|
2008-08-06 14:54:18 -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
|
7ae2105d57
|
MemCacheStore#decrement should use data instance variable not local variable [#521 state:resolved]
|
2008-07-16 18:46:04 -05:00 |
|
José Valim
|
99860b72ae
|
Add fragment_exist? and exist? methods to cache stores. [#203 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-05-19 10:38:59 +01:00 |
|
Tobias Lütke
|
5be5305877
|
Add missing clear method to memory_store
|
2008-04-29 16:34:01 -04:00 |
|
Tobias Lütke
|
09517e3aea
|
Allow access to mem_cache_store's stats hash
|
2008-04-29 15:28:24 -04:00 |
|
Tobias Lütke
|
fef82759ff
|
Implement increment/decrement on cache storage engines, using read/write by default and using atomic command on memcache
|
2008-04-29 15:12:47 -04:00 |
|
Tobias Lütke
|
9f07b1edcd
|
By default rails will update keys in memcached when using Rails.cache.write. Use :unless_exist => true flag to prevent existing keys from being overwritten.
|
2008-04-29 14:57:21 -04:00 |
|
Michael Koziarski
|
f3fd44f76b
|
Add default options to file_store to make it align with the other cache stores. [monki]
[#40 state:resolved]
|
2008-04-26 12:21:36 +12: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
|
4c3077183b
|
Add #clear to mem_cache_store, flushes all caches
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8916 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-21 01:35:27 +00:00 |
|
Jeremy Kemper
|
5457770a36
|
Pass array of addresses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-17 20:07:40 +00:00 |
|
David Heinemeier Hansson
|
40f67639c8
|
Fix that the options hash can be nil when coming from fragments
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 22:04:24 +00:00 |
|
Jeremy Kemper
|
0d26e47b29
|
MemCacheStore#write and #delete return a boolean indicating whether the operation succeeded
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8767 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-01 08:25:58 +00:00 |
|
Jeremy Kemper
|
601222f294
|
MemCacheStore#write uses add by default and set if :force => true
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8765 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-01 07:07:56 +00:00 |
|
David Heinemeier Hansson
|
29938ba0f0
|
Log an error to the console when the memcache server is raising
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-22 00:09:08 +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 |
|