Suppose the partial: _form.rhtml, it includes lots of data and has a
fixed layout and is reused for over 5 views,for every time it is
rendered for a long time,therefore to cache it is a useful way to
improve the throughoutput. However, the partial _form.rhtml. Can this
whole partial file alone be cached?
Another question: the web application is a multi language version, other
language is translated by gettext using <%= _("") %>,
therefore,if an
English version of _form.rhtml could be cached, how other language
version of _form.rhtml was cached?Very grateful!
Fred
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---