technoidentity / rrm

Eclipse Public License 1.0
0 stars 0 forks source link

compress static files #2

Open rajeshponnala opened 8 years ago

rajeshponnala commented 8 years ago

compress static files (css,images,txt..etc)

pervezfunctor commented 8 years ago

If by compression, you mean gzip, if you are using jetty you could write a few lines middleware using org.eclipse.jetty.server.handler.gzip GzipHandler. You could also try one of ring middleware like ring-gzip-middleware