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.
And my point was that the default cache store (MemoryStore) is already
not threadsafe.
But the same :expires_in functionality can easily be applied to
SynchronisedMemoryStore if needed.
And that's why Rails preloads *everything* when you have
config.threadsafe! in production.rb. Even in edge where Rails has
moved to using autoload, it's all preloaded in threadsafe mode.