Focal Point
[CLOSED] Enabling / Disabling gzip compression for WebFOCUS

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7447076766

March 06, 2014, 04:58 PM
A Fisher
[CLOSED] Enabling / Disabling gzip compression for WebFOCUS
Greetings All,

I'm new to the forums (first post, at least) so hopefully don't make too much of a fool of myself.

I have been using Google Chrome to do some debugging on my WebFOCUS portals. One of the major issues the Chrome Developer Tools are squawking about is the ability to reduce load times significantly by enabling gzip compression.

As I researched this a bit, I was led to believe that I could change my .htaccess file with a small bit of code to decrease network bandwidth usage and load times.

<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>


Unfortunately I'm not able to locate that file.

Would this even work in a WebFOCUS environment? If so, where would I consider making a configuration change like this? We are using Apache Tomcat.

Thanks very much for any help, I tried to make sure this wasn't covered somewhere else. If it was, please feel free to point me in that direction and close this thread.

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8.2.0.1 / App Studio 8.2.0.1 (04092014) / Windows 7 / HTML5, PDF, XLS
March 10, 2014, 09:02 AM
dhagen
quote:
ifModule mod_gzip.c

That mod is for the Apache web server, not the Tomcat application server. You can use it, but you have to install the Apache web server, then configure the necessary mod to allow it to forward the WF content to the Tomcat application server.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
March 27, 2014, 11:30 AM
A Fisher
Just to clarify; there's nothing inherent with the WebFOCUS application which prohibits the use of GZip, is there?

Does anyone have any first hand experience who could indicate whether it is effective in decreasing load times / etc?

Thanks for the help.


WebFOCUS 8.2.0.1 / App Studio 8.2.0.1 (04092014) / Windows 7 / HTML5, PDF, XLS