Webistrano settings for lazy assets:precompile (if assets are not changed, don't invoke rake assets:precompile)
1, install capistrano-lazy-assets in webistrano environment.
2, add recipe at webistrano
load 'deploy/assets' require 'capistrano-lazy-assets'
3, deploy_via by remote_cache
deploy_via :remote_cache
repository_cache cached-copy
That's it. in my case, 400sec -> 30sec.
Yet if we changed assets, it takes 400sec as originaly does. turbo-sprockets-rails3 is also useful which recompiling changed assets, based on a hash of their source files.
30%~40% faster. 400sec -> 280sec.