Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
is it possible to pack and compress .js files of Birt Viewer?
acervantes
Hi all,
In order to optimize the load time over internet of the birt viewer pages, I would like to know if it is possible to pack and compress the js files of the birt viewer, I'm using Birt 2.3.1 on Apache tomcat 5.5 over Windows 2003 Server.
Or do you know how can I improve the load time of birt viewer?.. .it seems that every time that you ask for a report (.rtpdesign) the browser loads again all the js files, for example: the report parameter window takes up to 15 sec in appears.
Any help will be appreciated.
Thanks in advanced!
ALCE
Find more posts tagged with
Comments
acervantes
any suggestion?<br />
<br />
Thanks,<br />
<br />
<br />
<blockquote class='ipsBlockquote' data-author="acervantes"><p>Hi all,<br />
<br />
In order to optimize the load time over internet of the birt viewer pages, I would like to know if it is possible to pack and compress the js files of the birt viewer, I'm using Birt 2.3.1 on Apache tomcat 5.5 over Windows 2003 Server.<br />
<br />
Or do you know how can I improve the load time of birt viewer?.. .it seems that every time that you ask for a report (.rtpdesign) the browser loads again all the js files, for example: the report parameter window takes up to 15 sec in appears.<br />
<br />
Any help will be appreciated. <br />
<br />
Thanks in advanced!<br />
ALCE</p></blockquote>
acervantes
Hi guys,
I'm amazing that no body would like to compress the JS files of the Birt Viewer to get better performance.
No body has an idea how to do that?
Thanks
ALCE
Virgil Dodson
I have not personally used Tomcat compression. Have you tried turning on this setting in your server.xml similar to below?<br />
<br />
<Connector port="8080" maxHttpHeaderSize="8192" <br />
maxThreads="150" minSpareThreads="25" maxSpareThreads="75" <br />
enableLookups="false" redirectPort="8443" acceptCount="100" <br />
connectionTimeout="20000" disableUploadTimeout="true" <br />
compression="on" <br />
compressionMinSize="2048000" <br />
nocompressionUserAgents="gozilla, traviata" <br />
compressableMimeType="text/html,text/xml,text/plain,application/dime" <br />
/><br />
<br />
(FYI - I found this here:<br />
<a class='bbc_url' href='
http://www.webmasterworld.com/apache/3091828.htm'>Tomcat
: always do http compression without watch min size</a>)
mwilliams
ALCE,<br />
<br />
If that doesn't work, you may just give compressing them on your own a try. Download a js compressor and compress all the js files and see if it works. If that doesn't work, it may be a good enhancement request to log! You can do that at <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/reportabug.php'>BIRT
: Reporting Bugs and Requesting Enhancements</a>.
acervantes
Thanks Virgil for your comments, <br />
<br />
I will try it and will comment if it works fine or not.<br />
<br />
<blockquote class='ipsBlockquote' data-author="vdodson"><p>I have not personally used Tomcat compression. Have you tried turning on this setting in your server.xml similar to below?<br />
<br />
<Connector port="8080" maxHttpHeaderSize="8192" <br />
maxThreads="150" minSpareThreads="25" maxSpareThreads="75" <br />
enableLookups="false" redirectPort="8443" acceptCount="100" <br />
connectionTimeout="20000" disableUploadTimeout="true" <br />
compression="on" <br />
compressionMinSize="2048000" <br />
nocompressionUserAgents="gozilla, traviata" <br />
compressableMimeType="text/html,text/xml,text/plain,application/dime" <br />
/><br />
<br />
(FYI - I found this here:<br />
<a class='bbc_url' href='
http://www.webmasterworld.com/apache/3091828.htm'>Tomcat
: always do http compression without watch min size</a>)</p></blockquote>
acervantes
Thanks Michael for your reply,<br />
<br />
Do you know a tool to joing all the js files in only one file to after try to compress only one file?<br />
<br />
Thinking that I will join and compress only one js file, what is the file in birt where I need to modify to refer the new js file?<br />
<br />
Regards,<br />
ALCE<br />
<br />
<br />
<blockquote class='ipsBlockquote' data-author="mwilliams"><p>ALCE,<br />
<br />
If that doesn't work, you may just give compressing them on your own a try. Download a js compressor and compress all the js files and see if it works. If that doesn't work, it may be a good enhancement request to log! You can do that at <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/reportabug.php'>BIRT
: Reporting Bugs and Requesting Enhancements</a>.</p></blockquote>