This may be a silly question to ask. But as performance issues start
popping up I had no other go other than searching for a solution.
I’ve application.html.erb where i’ve defined the layout of my whole
project, where i’ve so many db calls and everything which is a one time
call that must happen for the whole layout.
In the main area i’ve
<%= yield %>
I want only this part to be refreshed/changed whenever i go back and
forth of the pages, but the problem is, the whole page is getting
refreshed everytime which is consuming hell a lot of time as i’m doing
so many db calls for the common layout.
How to achieve my requirement and improve the performance?
And if someother tips are there the improve the performance in ruby on
Thanks in advance