Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This post was updated on Feb 18, 2012; 10:09am.
After installation the opac was getting just 3 points with regard to site speed here: https://developers.google.com/pagespeed/ Then I enabled compression in the server.xml file of apache tomcat. Then the Google page speed gave 80 points. A huge difference. Below I have posted the modification that I have done. You need to add just the last two lines to the existing configuration, push the existing "/>" tag to the end.
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" maxHttpHeaderSize="16192" compression="1400" compressableMimeType="text/html,text/xml,text/plain,text/css,application/javascript,application/json,text/javascript"/> Note: I edited the code on 18 Feb 2012 to remove a typo.
SDM OPAC and SDMCBM OPAC
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thank you for sharing this valuable suggestion. Its very important
for those hosting the OPAC online
On 12/01/2011 10:30 AM, onehomelist [via NewGenLib] wrote: After installation the opac was getting just 3 points with regard to site speed here: https://developers.google.com/pagespeed/ Then I enabled compression in the server.xml file of apache tomcat. Then the Google page speed gave 80 points. A huge difference. Below I have posted the modification that I have done. You need to add just the last two lines to the existing configuration, push the existing "/>" tag to the end. ... [show rest of quote]
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Just to be clear, is this the same server.xml file that I will see in C:/NGL302/apache-tomcat-6.0.32/conf if I installed NGL on Windows?
Thanks in advance...
-------------------------------------------------
With great knowledge comes great responsibility. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Yes it is same. But you should be very careful while editing it. The best thing to avoid any disaster is to save a copy of server.xml in another location. So, if you do any mistake while editing, you can replace the file with the copy that you've saved on a different location.
SDM OPAC and SDMCBM OPAC
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Alright. Thank you for the tip!
-------------------------------------------------
With great knowledge comes great responsibility. |
Free forum by Nabble | Edit this page |