I have developed a website using ruby 1.9.3 and deployed in on aws server through passenger. But my website takes time in loading.
I am using passenger in: production mode
I am worried because i reduced the size of images to 100kb even then they took time in loading due to which animation can’t occur properly.
I have assets precompile :true
in production environment.
Is there any way to load images fast.
Please help i am new to ruby
Thanks & Regards
Rajat
If you are using asset pipeline, then you need precompile assets using the rake task and deploy the application to production.
Refer to below links for more info
http://guides.rubyonrails.org/asset_pipeline.html
http://stackoverflow.com/questions/8821864/config-assets-compile-true-in-rails-production-why-not