Forum: Ruby on Rails re: caches_action does not go off the entire URL

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
big mac (Guest)
on 2006-02-13 21:51
(Received via mailing list)
The only way I got it to cache parameters is by using fragement caching.

<% cache :controller => 'search', :action => 'results', :id => '1',
=> 'p1', :param2 => 'p2' %>

code........... html...........

<% end %>

If you use file store for fragment caching, you can define the cache

Hope this helps,
This topic is locked and can not be replied to.