cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Kinsella <>
Subject Re: Review Request 12228: static resource compression
Date Fri, 21 Mar 2014 21:03:20 GMT
Canya tell us a little more about the test you’re doing? What URL are you fetching, how many
times etc. Just curious to tinker myself this weekend if I have some time. :)

On Mar 21, 2014, at 1:07 PM, Laszlo Hornyak <<>>

This is an automatically generated e-mail. To reply, visit:

Comparison of 3 configurations, the dynamic compression solution is the last one. This test
was conducted in a VM with 2 vCPU and 4 GB RAM on a
AMD E2-1800.

- Laszlo Hornyak

On March 20, 2014, 7:53 p.m., Laszlo Hornyak wrote:

This is an automatically generated e-mail. To reply, visit:

(Updated March 20, 2014, 7:53 p.m.)

Review request for cloudstack, Brian Federle, Darren Shepherd, and Prasanna Santhanam.

Repository: cloudstack-git


CloudStack at first use downloads some 3.5 MB of css and javascript to the client. With a
weak internet connection, this might take a long time. With gzip compression content can be
compressed to 850 KB.

This version of the patch uses a custom plugin to compress static resources, so that no dynamic
compression is needed at runtime. When the static resource servlet notices that there is gzipped
version of the resource and the client accepts gzipped content, then it is going to send the
gziped version, while still respects http caching.


 client/WEB-INF/web.xml 1af38e1
 client/pom.xml d8dbde7
 server/src/com/cloud/servlet/ PRE-CREATION
 server/test/com/cloud/servlet/ PRE-CREATION



yes, tested with firefox and chrome


Laszlo Hornyak

Stratosec<> - Compliance as a Service
o: 415.315.9385

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message