I was thinking javascript_include_tag with :cache option would g-zip the combined javascript file automatically:
<%= javascript_include_tag 'j1.js', 'j2.js', 'j3.js', :cache => 'js_all' %>
But it just generate a file which simply combined all those javascript files in plain text mod;
Then how to g-zip the combinded file automatically?
Is there a build in option in 'javascript_include_tag' for that?
Or,
How do you fix the g-zip prolem?
By hand?
Writing ruby codes which excute system 'gzip' command?
...
What would do on it?
I use nginx as the server;