Previously Philip Jenvey wrote:
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
Previously Philip Jenvey wrote:
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.
I think you also need to add the class name if you get a bound function:
you may very
On Feb 11, 2009, at 3:38 AM, Wichert Akkerman wrote:
Previously Philip Jenvey wrote:
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.
I think you also need to add the
On 2/11/09 11:12 PM, Philip Jenvey wrote:
The class's name and module name are used for the cache's namespace,
which'll prevent clashes. For normal functions just the function's
module name is used for the namespace. Looking at this again maybe the
class name should be in the key instead
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
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
My solution was to write my own decorator.
could you share your decorator?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
i've got a controller that will accept multiple same name args in the
query string
?id=10id=100id=50
it looks like beaker_cache does not interpret these as different query
strings, so
?id=10id=100id=50
will return the same as
?id=10id=100id=20id=50
any recommended workarounds for this?
on
yes, you're right it's totally weird that the key beaker_cache uses
for caching controller actios,
doesn't include the action in it by default. My solution was to write
my own decorator.
On Feb 6, 1:52 pm, eleith ele...@gmail.com wrote:
i've got a controller that will accept multiple same name