gzip js and css files

36 views
Skip to first unread message

Dan W

unread,
May 23, 2012, 2:46:53 PM5/23/12
to simple-b...@googlegroups.com
I'm pretty new to sbt. I've just installed the sbt-closure and the stb-less plugins which do a great job at minimizing my javascript and css files. Can someone give me some pointers about how to get sbt to gzip the output from these plugins? I'm trying to find a solution that will be part of the compile process and only do the gzip if the js/css files have changed and the gzipped file is out of date.

Thanks

Doug Tangren

unread,
May 23, 2012, 6:20:12 PM5/23/12
to simple-b...@googlegroups.com
On Wed, May 23, 2012 at 2:46 PM, Dan W <will...@gmail.com> wrote:
I'm pretty new to sbt. I've just installed the sbt-closure and the stb-less plugins which do a great job at minimizing my javascript and css files. Can someone give me some pointers about how to get sbt to gzip the output from these plugins? I'm trying to find a solution that will be part of the compile process and only do the gzip if the js/css files have changed and the gzipped file is out of date.

gzip is typically something you do in your http proxy server. nginx/apache, not as part of your dev process on sources
 

Thanks

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/20PkAkfAL_kJ.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.

Reply all
Reply to author
Forward
0 new messages