JSF2+RichFaces3.3.3 x gzip compression x Firebug
edilmar Aug 23, 2010 3:55 PMHi,
I have a webapp with JSF2 + RichFaces 3.3.3 + GlassFish 3.0.1, with gzip compression enabled for "text/html,text/xml,text/plain,text/css,text/javascript,application/json" file types.
When I run this app with Firefox 3.5.10 + Firebug 1.5.4, Firebug claims for better performance if I reconfigure many files to enable gzip compression. But these files are into RichFaces jar files. Firebug claims for 70-75% reduction. For example, this is the output from Firebug, but I dont have any idea to optimize jar files from RichFaces...
Compressing the following resources with gzip could reduce their transfer size by 371,1KiB (74% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.PrototypeScrip... could save 72,5KiB (74% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/j... could save 53,4KiB (71% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/c... could save 49,6KiB (78% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript.jsf could save 49,1KiB (73% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/m... could save 26,2KiB (78% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalscripts/menu.js.jsf could save 26,2KiB (78% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/s... could save 22,2KiB (76% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/m... could save 15,4KiB (74% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/u... could save 7,6KiB (71% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/m... could save 6,2KiB (80% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/exten... could save 5,9KiB (87% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/calen... could save 5,8KiB (81% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/basic... could save 5,8KiB (81% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/js/funcoes.js could save 4,0KiB (77% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/js/md5.js could save 3,8KiB (67% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/J... could save 2,4KiB (70% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/s/3_3_3.Finalcss/table.xcss/DATB/eAGbUnaFO3T5DGkAEa... could save 2,1KiB (77% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/s/3_3_3.Finalcss/menucomponents.xcss/DATB/eAGbUnaFO... could save 1,8KiB (68% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/e... could save 1,6KiB (68% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/ajax4jsf/javascript/scripts/form.j... could save 1,3KiB (60% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/a... could save 1,2KiB (61% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/modal... could save 1,2KiB (62% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/j... could save 1,0KiB (61% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/b... could save 817B (65% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/css/cssLayout.css could save 741B (65% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/s/3_3_3.Finalcss/dropdownmenu.xcss/DATB/eAGbUnaFO3T... could save 717B (56% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/s... could save 638B (52% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/sugge... could save 580B (56% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/css/default.css could save 362B (53% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/s/3_3_3.Finalcss/panel.xcss/DATB/eAGbUnaFO3T5DGkAEa... could save 301B (48% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/css/msgs.... could save 167B (56% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/f... could save 147B (39% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/css/msg.c... could save 141B (54% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/s/3_3_3.Finalcss/toolBar.xcss/DATB/eAGbUnaFO3T5DGkA... could save 116B (28% reduction).
- Compressing http://sitesat.flechadeprata.com.br/sitesat2/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.ImageCacheScri... could save 93B (36% reduction).
Thanks for any help.