I recently made a change to my User class (which is memcached); is there any way I can invalidate all entries whose key begins with User without invalidating the entire cache?
If not are there any workarounds? I would rather not delete everything.
|
I recently made a change to my User class (which is memcached); is there any way I can invalidate all entries whose key begins with If not are there any workarounds? I would rather not delete everything. |
|||
|
|
In the memcached FAQ, Deleting by Namespace:
If you are planning on doing a blanket clear of only part of the cache, you might consider setting the expiry to a shorter time period. |
|||
|
|