performance - How to reduce Rails form loading time -
i have form has 4 associations , 2 javascript calls. taking load minimum of 10 seconds load,even new form. out of 10 seconds, active record taking in 100 ms , remaining 9990ms taking load views. (in views page,i loading tiny mice editor,autocomplete javascript libraries)
is possible load page loading 4 associations,including 2 javascript libraries in less 3 seconds? if yes, pleas body me in loading form faster?
thanks in advance, prem.
i suggest check http://www.railsinside.com/tutorials/230-scaling-rails-a-free-13-part-series-of-screencasts.html.
as said if have 4 associations may have eager_loading or may better write sql , use find_by_sql.
regarding javascript or view loading may have research minifying javascript , css. need consider using image sprites.
Comments
Post a Comment