I'm working on a search feature that when typing something make an ajax call to get the results. I wanna caches the search action with search keywords in memory_cache, so i make it like this:
# caches_action with GET parameters
caches_action :search_posts, :cache_path => Proc.new { |c| c.params }
My question is how can i expire the action with parameters too? Is there another way to make my feature works?