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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community 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',
:param1
=> 'p1', :param2 => 'p2' %>

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

<% end %>

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

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