If ehcache is used for action caching, and the key contains parameters from the url, should the following technique work with ehcache? expire_fragment(Regexp.new("/yourpath/youraction\."))