Re: caches_action does not go off the entire URL


#1

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