Situation: Rails 2.3.x app being actively developed for an artist, which includes lots of large hi-res images. It makes no sense to include all those images in every deployment, so an asset host + rsync would seem to be an easy answer. On the other hand, the CSS and JavaScript files change frequently, so leaving them part of the normal app deployment (via Capistrano) also makes sense. Thoughts? I''m sure someone has wrestled with this before :-) -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
not sure if this works in rails 2.3, but in 3.0 you could use jammit and jammit-s3 for that to deploy assets on amazon. jammit-s3 is now smart enough to not redeploy unchanged files. On Wed, Jun 22, 2011 at 8:11 AM, Hassan Schroeder < hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Situation: Rails 2.3.x app being actively developed for an artist, which > includes lots of large hi-res images. > > It makes no sense to include all those images in every deployment, > so an asset host + rsync would seem to be an easy answer. > > On the other hand, the CSS and JavaScript files change frequently, > so leaving them part of the normal app deployment (via Capistrano) > also makes sense. > > Thoughts? I''m sure someone has wrestled with this before :-) > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > http://about.me/hassanschroeder > twitter: @hassan > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Wed, Jun 22, 2011 at 8:14 AM, Martin Wawrusch <martin-qs6+VQBngv1Wk0Htik3J/w@public.gmane.org> wrote:> not sure if this works in rails 2.3, but in 3.0 you could use jammit and > jammit-s3 for that to deploy assets on amazon. jammit-s3 is now smart enough > to not redeploy unchanged files.Thanks for the response; I''d already looked at jammit and it seemed a lot more about compressing JS/CSS, inlining small images, etc. And I''m not seeing an immediate reason to add S3 into the situation. Surprised not to see more ideas, maybe this is just too much of an edge case? Back to the drawing board, I guess :-) -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.