Problems after caching


#1

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 working…it
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

thanks


#2

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
dynamic.

HTH

Matt