ruby - Page loading takes so much time in rails -


i using gmaps4rails gem display different locations in google map. have 15000 records display takes 10 seconds load page. here code convert given records gmaps4rails objects:

@json = alphacourses.find(:all,:id,:latitude,:longitude).to_gmaps4rails 

can 1 me load page early.

thanks

try caching strategies. awesome tutorial on caching available in railscasts. , here. thanks.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -