On Monday, May 13, 2013 7:50:41 AM UTC+1, [email protected] wrote:
>
> I'm using asset pipeline for fonts (app/assets/fonts).
> asset pipeline does process the fonts directory when I precompile, but it 
> is not creating a gzip version for the font files (while it is creating 
> ones for the JS/css files).
> I'm using apache + passanger for serving rails.
> Is there a way to make asset pipeline create gzip file for the font files?
>
>
As far as I can tell this is just hard coded into action pack:

https://github.com/rails/rails/blob/3-2-stable/actionpack/lib/sprockets/static_compiler.rb#L40

If I remember correctly, it's quite tricky to get apache to use the 
pre-gzipped files - you might find it sufficient to have apache gzip them 
on the fly

Fred 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/cmUwV8OjMM0J.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to