Topic: [Help] Wrong path for Expire_fragment

Hello, in my application i'm caching a fragment like this:

[code = ruby]
cache(:fragment => "comment_list")
#results: Cached fragment hit:  views/www.bla.com/users/1/item/45?fragment=comment_list

# and i am expiring it doing like this
expire_fragment(:fragment => "comment_list")
#results: Expired fragment: views/www.bla.com/users/1/item/45/comments?fragment=comment_list (0.1ms)

[/code]

But as you can see, my exprired cache path it's different from my cache file! And so the cache dont get expired!

FROM /45?fragment=comment_list
TO   /45/comments?fragment=comment_list

if instead i cache and expire without using :fragment, everything work fine. It's wrong to use :fragment?

someone can help me and tell me why i get this?

Last edited by eXil3 (2009-01-06 15:20:24)