Hi,

I'm trying to invalidate a single key without invalidate the whole
cache. I use this code:

    expiretime = not invalidate and 3600 or 0
    mycache = cache.get_cache('users_profils', type='memory')
    return mycache.get_value(key=usr_id, createfunc=get_profils,
                             expiretime=expiretime)

This work with an older version of Beaker (used in Pylons 0.9.6).

Is there a way to do this with latest version ?

--
Gael

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to