You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using a custom script to precompile assets locally and just now switched to using this gem. This gem works great, but wouldn't it be faster and reduce server load to precompile the assets locally (if needed) and copy them over to server?
This very much depends on the speed of the internet connection and the size
of the assets. In my case, copying assets to 12 servers from my local
computer would be very much slower than compiling them on each of the 12
servers individually. However, I do appreciate your comment and the fact
that you're willing to help improve this gem. Any further suggestions are
very much appreciated.
I've been using a custom script to precompile assets locally and just now
switched to using this gem. This gem works great, but wouldn't it be faster
and reduce server load to precompile the assets locally (if needed) and
copy them over to server?
Here's the link to the capistrano task that I was using before:
Hi,
I've been using a custom script to precompile assets locally and just now switched to using this gem. This gem works great, but wouldn't it be faster and reduce server load to precompile the assets locally (if needed) and copy them over to server?
Here's the link to the capistrano task that I was using before:
https://github.com/TalkingQuickly/capistrano-3-rails-template/blob/master/lib/capistrano/tasks/compile_assets_locally.cap
It didn't check if compilation is required, but I think these two ideas/scripts can be merged.
The text was updated successfully, but these errors were encountered: