I'm pro letting people configure arbitrary headers for serving assets. I think 
we should bake support for this in Rails.




On a side note I really dislike asset_sync


https://gist.github.com/schneems/9374188  




—
Sent from Mailbox

On Sun, Feb 22, 2015 at 7:31 PM, Yuki Nishijima <m...@yukinishijima.net>
wrote:

> Hi,
> Has anyone thought about adding Access-Control headers for assets? Right
> now, I use asset_sync gem to send all assets to an S3 bucket after
> asset:precompile and use CloudFront to serve them, where the 3S bucket has
> Access-Control settings.
> But if ActionDispatch::Static automatically (or with a proper config) puts
> the Access-Control headers for us, then there is no need to set it up and
> we can just change CloudFront to point directly to the Rails app.
> Let me know what you think. Thanks for your time!
> Thanks,
> Yuki
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at http://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to