On Jun 11, 4:59 pm, Ben Bangert <[email protected]> wrote:
> def load_cases(tag):
>     �...@app_globals.cache.region('short_term')


After 'short_term' you may also want to add another string to identify
the cache so you don't get overlapping values, eg:

    @app_globals.cache.region('short_term', 'load_cases')


If the value of 'tag' in Ben's example would be unique enough amongst
all the values going into the short_term cache region to prevent
conflicts, then you could leave that additional string out. It depends
on how you're using the cache region.

HTH

--isaac

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

Reply via email to