----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/12228/ -----------------------------------------------------------
(Updated Sept. 24, 2013, 6:51 a.m.) Review request for cloudstack, Brian Federle and Prasanna Santhanam. Repository: cloudstack-git Description ------- Just to share the idea. Jetty can use the gzipped version of static resource files (html, js, css) to serve requests of browsers that accept gzip compression. This allows faster page loads and/or save bandwidth. CloudStack at this point has 2.4 MB of javascript files and a few hundred KB css files, which adds up to roughly 3 MB, with gzip compression it is just a few hundred KB. This solution uses my custom maven plugin written for the purpose, other aporach may work as well. Diffs ----- client/WEB-INF/web.xml e5c05d3 client/pom.xml 119c96e server/src/com/cloud/servlet/StaticResourceServlet.java PRE-CREATION server/test/com/cloud/servlet/StaticResourceServletTest.java PRE-CREATION Diff: https://reviews.apache.org/r/12228/diff/ Testing ------- Thanks, Laszlo Hornyak