Displaying 1 result from an estimated 1 matches for "url_slug".
2007 Nov 21
0
Expiring page caches with regexp?
...pe every product which has been cached within that
category. With fragment caching, I''d just use regexp, but that doesn''t
seem to work in page caching (at least the same way it does with
fragments).
I tried using "system "rm -rf #{RAILS_ROOT}/public/products/
#{category.url_slug}" from within the CategorySweeper which I was
trying to get the expire_page method to work in but it didn''t work
either (I didn''t really dig far into why this one wasn''t working..
should it?)
Thanks in advance for any help.
--~--~---------~--~----~------------~-----...