K
Kris Kohlstedt
I'm looking for something that has similar functionality to the
caches_page directive provided by rails but that caches a seperate based
on the params that are passed into the request. For example if I have a
request http://www.foo.com/mycontroller?id=1 and a request
http://www.foo.com/mycontroller?id=2 I'd like a seperate cache for each
of those requests. Based on my experimentation with caches_page it
looks like all I get by default is a cache for the first of those 2
requests that is called.
Ideas? Is there a simple way for caches_page to take into account the
params that are passed in?
caches_page directive provided by rails but that caches a seperate based
on the params that are passed into the request. For example if I have a
request http://www.foo.com/mycontroller?id=1 and a request
http://www.foo.com/mycontroller?id=2 I'd like a seperate cache for each
of those requests. Based on my experimentation with caches_page it
looks like all I get by default is a cache for the first of those 2
requests that is called.
Ideas? Is there a simple way for caches_page to take into account the
params that are passed in?