Hi there, has anyone ever looked at making ActiveSupport::Cache::MemoryStore respect the :expires_in option?
I had a go, and built a plugin to add it. ActiveSupport::Cache::ExpiringMemoryStore http://github.com/matthewrudy/expiring_memory_store It should work in the same way MemcacheStore does with :expires_in. Although it will use up more memory that the basic MemoryStore, can anyone see any other problem with it? (it's not threadsafe, but nothing is apparently, including 'require') It's currently our default cache_store at work, will see how that works out in production. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
