on 12-04-2013 6:05 AM
Hi Experts,
Can I use HTTP Compression in Tomcat to speed up WebI reports ? In SAP Web Application and Query Design, we can use this to reduce network load for large datasets. Is it possible in BO?
Thanks and Regards,
Arijit
Hi,
I believe BI4.0 uses GZIP compression for content encoding 'out of the box' .
regards,
H
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Access your Tomcat server in a browser and run an HTTP traffic monitor such as Charles in the background and you should be able to see whether the HTTP response is gzipped or not. I think maybe even your F12 developer tools in IE or the Developer console in Google Chrome would tell you. Check the content-encoding header.
default tomcat connector in server.xml has compression=on.
p.s.
newest tomcats have a bug with compression which causes tomcat crashes. Some, not all BOE, workflows might be affected.
Workaround, until Tomcat fixes this bug, is to use apache web server with mod_jk and mod_deflate in front of tomcat and disable compression in tomcat.
Denis,
in one of our home grown tool which provide a detailed report out of the page performance for any web page has below recommendations. it seems like not all the .js and .css files are being compressed using gzip. in fiddler traces, i could notice only few request headers having been zipped with zzip. this is even after enabling compression in tomcat server.xml
here is the list of uncompressed files.
Enable compression
Compressing the following resources with gzip could reduce their transfer size by 1.8MiB (75% reduction).
Compressing https://enterprisebi.intel.com/BOE/port.../bobjui/dash/CDashboardTabOnlyMerge.js could save 165.7KiB (74% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...0535/shared/ure/js/min/ure-list-min.js could save 119.0KiB (83% reduction).
Compressing https://enterprisebi.intel.com/BOE/portal/1410180535/shared/dhtmllib/palette.js could save 117.3KiB (77% reduction).
Compressing https://enterprisebi.intel.com/BOE/portal/1410180535/shared/dhtmllib/dom.js could save 114.5KiB (72% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...ib/prototypeScriptaculousCompressed.js could save 109.2KiB (71% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...0535/shared/ure/js/min/ure-core-min.js could save 94.8KiB (81% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...410180535/shared/dhtmllib/prototype.js could save 94.3KiB (76% reduction).
Compressing https://enterprisebi.intel.com/BOE/portal/1410180535/shared/dhtmllib/menu.js could save 64.5KiB (78% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...d/yui/2.8.0/container/container-min.js could save 54.4KiB (74% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...s/ure/ure/js/yui_2.7.0/calendar-min.js could save 50.3KiB (75% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...Dtrue%3BpromptForUnsavedData%3Dtrue%3B could save 47.5KiB (81% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...0535/shared/yui/2.8.0/menu/menu-min.js could save 40.3KiB (72% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...5/shared/ure/js/min/ure-toolbar-min.js could save 38.3KiB (85% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...35/InfoView/DataLoader?dictionary=true could save 32.5KiB (81% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...n/1.0.0/accordionview/accordionview.js could save 31.5KiB (79% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...10180535/InfoView/js/listing_main_a.js could save 28.5KiB (75% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...red/yui/2.8.0/treeview/treeview-min.js could save 24.5KiB (73% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...2.8.0/autocomplete/autocomplete-min.js could save 24.4KiB (77% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...yui/2.8.0/datasource/datasource-min.js could save 23.4KiB (75% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...8.0/yahoo-dom-event/yahoo-dom-event.js could save 23.4KiB (64% reduction).
Compressing https://enterprisebi.intel.com/BOE/port...red/dhtmllib/custom/skin_ure/style.css could save 23.0KiB (85% reduction).
Compressing https://enterprisebi.intel.com/BOE/port.../shared/yui/2.8.0/layout/layout-min.js could save 21.6KiB (76% reduction).
Compressing https://enterprisebi.intel.com/BOE/port.../shared/dialogservice/dialogservice.js could save 21.6KiB (79% reduction).
this is the type of objects that will be compressed : compressableMimeType="text/html,text/xml,text/plain,text/css,text/javascript,text/json,application/json,application/javascript"
http://tomcat.apache.org/tomcat-7.0-doc/config/http.html
http://stackoverflow.com/questions/16690321/need-step-by-step-overview-for-compression-on-tomcat
and make sure you read this one : http://scn.sap.com/docs/DOC-50325
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.