Displaying 1 result from an estimated 1 matches for "inconsisent".
Did you mean:
inconsistent
2006 Jan 20
2
The New Memcache ?
...onrails.com/articles/2006/01/20/caching-models-with-memcached
In my application, I''ve been staying away from caching my models, and
instead just doing lookups based on different ID''s that I pass around. I
heard that this was a good practice, as your sessioned models could become
inconsisent (ie: if it was updated).
Now, it looks like this may be a moot point, as the cache_model implements
ActiveRecord::Locking, and the memcache-client solves some performance
issues.
Is this the case ?
It would indeed be *much* easier to store some models in the session, than
to do lookups all over...