{"id":17,"date":"2018-02-07T06:08:34","date_gmt":"2018-02-07T00:38:34","guid":{"rendered":"http:\/\/indiainternetready.com\/dev\/tp2016\/blogs\/?p=17"},"modified":"2026-03-03T10:15:50","modified_gmt":"2026-03-03T10:15:50","slug":"enable-web-page-compression-for-quick-page-load","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/blogs\/enable-web-page-compression-for-quick-page-load\/","title":{"rendered":"Enable Web page compression for Quick Page load in Pentaho+ User Console"},"content":{"rendered":"<h2>Enable Web page compression in Pentaho+ BA Server<\/h2>\n<h3>Business Need<\/h3>\n<p>We may Sometimes notice that there is high HTTP traffic, and it&#8217;s because the server is attempting to return high volumes of data back to the browser. In this case, if you are running Tomcat, you have the added option of turning on compression at the application server level. Doing so compresses the HTTP responses and can make a big difference in performance, especially with traffic that&#8217;s text-heavy. Compressed text can go down in size by over 90%, which can make a big difference if your uncompressed data is in the MB&#8217;s. This is what you need to do.<\/p>\n<h3><strong>Steps<\/strong><\/h3>\n<p style=\"padding-left: 30px\">1. Stop the <a href=\"https:\/\/tenthplanet.in\/pentaho\/\" target=\"_blank\" rel=\"noopener\">Pentaho+<\/a> BA server and open \/pentaho\/server\/pentaho-server\/tomcat\/conf\/server.xml file<\/p>\n<p style=\"padding-left: 30px\">2. update the below configuration<\/p>\n<pre style=\"padding-left: 30px\">compression=\"on\"\ncompressionMinSize=\"2048\"\nnoCompressionUserAgents=\"gozilla, traviata\"\ncompressableMimeType=\"text\/html, text\/xml\"<\/pre>\n<p style=\"padding-left: 30px\">3. Add it to connector tag, so it will look like below<\/p>\n<pre style=\"padding-left: 30px\">&lt;Connector port=\"8080\" maxHttpHeaderSize=\"8192\"\nmaxThreads=\"150\" minSpareThreads=\"25\" maxSpareThreads=\"75\"\nenableLookups=\"false\" redirectPort=\"8443\" acceptCount=\"100\"\nconnectionTimeout=\"20000\" disableUploadTimeout=\"true\"\ncompression=\"on\"\ncompressionMinSize=\"2048\"\nnoCompressionUserAgents=\"gozilla, traviata\"\ncompressableMimeType=\"text\/html,text\/xml\"\/&gt;<\/pre>\n<p style=\"padding-left: 30px\">4. Save and close the file.<\/p>\n<p style=\"padding-left: 30px\">5. Start the server.<\/p>\n<p style=\"padding-left: 30px\">6. Check out the following header information before enabling GZIP.<\/p>\n<p style=\"padding-left: 30px\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-100\" src=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/pentahoblog1.png\" alt=\"\" width=\"1526\" height=\"595\" srcset=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/pentahoblog1.png 1526w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/pentahoblog1-300x117.png 300w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/pentahoblog1-1024x399.png 1024w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/pentahoblog1-768x299.png 768w\" sizes=\"auto, (max-width: 1526px) 100vw, 1526px\" \/><br \/>\n7. And after enabling GZIP look at the size of the webpage and the time taken for loading.<\/p>\n<p style=\"padding-left: 30px\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-101\" src=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/pentahoblog2.png\" alt=\"\" width=\"1526\" height=\"517\" srcset=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/pentahoblog2.png 1526w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/pentahoblog2-300x102.png 300w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/pentahoblog2-1024x347.png 1024w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2018\/02\/pentahoblog2-768x260.png 768w\" sizes=\"auto, (max-width: 1526px) 100vw, 1526px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We may notice Sometimes that there is high HTTP traffic, and it&#8217;s because the server is attempting to return high volumes of data back to the browser.<\/p>\n","protected":false},"author":23,"featured_media":1120,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[424],"tags":[429,430,431,432],"class_list":["post-17","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pentaho","tag-compression","tag-pentaho-server-optimization","tag-pentaho-user-console","tag-web-page"],"acf":[],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":0,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/media\/1120"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}