If an in-memory dictionary is not the right solution, you might want to consider using memcached or redis directly
Looking at the hashes datatype redis comes to mind as the way I would try to solve that problem. http://redis.io/topics/data-types-intro#hashes my recollection is that you can have nested hashes in redis there are also redis lists as described in the following link. http://redis.io/topics/data-types-intro On Wed, Oct 8, 2014 at 1:36 AM, Markus Unterwaditzer < [email protected]> wrote: > Hello, > > Unfortunately there isn't, as not all backends would support this (the > cache classes try to implement a subset of the backends' common > functionality). If you use SimpleCache you might as well use a in-memory > dictionary for this though. > > -- Markus > > On 8 October 2014 01:22:16 CEST, "Dinçer Kavraal" <[email protected]> > wrote: > >Hi, > > > >I am using cache for some data in such format: > > > > cache.set('group.name.property', data, very_long) > > > >however when a user changes something, I would like to remove all cache > > > >related to her/him. This has to be sth like > > > > cache.remove('group.name.*') > > > >Is there a similar approach in SimpleCache? > > > >Thanks > > -- > You received this message because you are subscribed to the Google Groups > "pocoo-libs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pocoo-libs. > For more options, visit https://groups.google.com/d/optout. > -- P THINK BEFORE PRINTING: is it really necessary? This e-mail and its attachments are confidential and solely for the intended addressee(s). Do not share or use them without approval. If received in error, contact the sender and delete them. -- You received this message because you are subscribed to the Google Groups "pocoo-libs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pocoo-libs. For more options, visit https://groups.google.com/d/optout.
