I've created a pull request to achieve this:
https://github.com/web2py/web2py/pull/2055

If it's not accepted (which is totally ok with me), I would like to know if 
I have some other alternative.
Thanks!

El lunes, 23 de enero de 2017, 17:29:22 (UTC-3), Lisandro escribió:
>
> I'm using RedisCache, and I've seen that web2py adds a prefix to all the 
> keys I store in the cache.
> For example, if I have an application called "master" and I do this:
>
> config = cache.redis('config', lambda: initialize_config(), time_expire=
> 9999999)
>
> ... then the actual key used to store the data is "w2p:master:config"
>
> But, what about if I have two applications that need to share the config?
> How can I tell web2py to use the same cache prefix for two specific 
> applications?
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to