Forum: Ruby on Rails problems after caching

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.
Ankit P. (Guest)
on 2008-12-27 12:57
Hey all

I m facing a problem,. Actually i m caching one action using
caches_action. On that page i also have pagiation. So if i enable
caching the page loads faster but the pagination stops
redirects me to the same first every time i click next. If i stop
caching it starts working properly.

Can ne one tell me the solution for it

Matt H. (Guest)
on 2008-12-28 00:42
(Received via mailing list)
Ankit P. wrote:
> thanks

Don't quote me on this, but whenever I needed to perform caching and
still have things like pagination working, I always used fragment
caching. I know fragment caching isn't as fast as action, but it is
still faster than no caching and still lets parts of the page feel


This topic is locked and can not be replied to.