On Apr 20, 2:37 pm, Preethi Sivakumar <rails-mailing-l...@andreas-
s.net> wrote:

> Thanks for your response.
> But, Am not making any db calls from view. I've helpers for everything
> which renders some tabs for user depending on his view. The queries for
> fetching the permissions that the person has and everything is fectched
> from db everytime the page is loaded even though that part of the layout
> is static once it is fectched for the first time. It gets refreshed
> everytime. That is the problem. i want only part of my page to be
> refreshed and other parts to remain static once loaded. How to achieve
> that?
>

You could either avoid traditional navigation and use ajax to update
bits of the page as required or use fragment cacheing to cache the
bits of html that are expensive to render or cache the data that sits
behind that.

Fred
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to