Ankit Parekh wrote:> 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
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---