On Feb 9, 2009, at 4:33 AM, Wichert Akkerman wrote:

>
> Previously eleith wrote:
>>>  My solution was to write my own decorator.
>> could you share your decorator?
>
> For what it's worth below is my variant of beaker_cache. It has
> the advantage over the stock version that it works everywhere
> instead of only for controller methods and will never try to
> cache response headers.

I think the latest tip solves all the complaints with beaker_cache in  
this thread.

I just applied a fix that now correctly handles eleith's issue with  
duplicate query params, and always includes the function name  
regardless of the key type specified. A fix was made about a month ago  
to make it work everywhere (not just controller actions) again.

There's been a toggle to specify which cache headers it preserves for  
a while now.

--
Philip Jenvey

--~--~---------~--~----~------------~-------~--~----~
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