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?
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:
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.