How can I cache my REST controller with Rails where my actions have query string parameters?
Example: GET /products/all.xml?max_price=200
T
In this case you should use fragments caching:
in your controller:
cache(params[:max_price], :expires_in => 10.minute) do # get the result end