Making NGL opac load really faster

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Making NGL opac load really faster

onehomelist
This post was updated on .
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.
Reply | Threaded
Open this post in threaded view
|

Re: Making NGL opac load really faster

Verus Open Source Support
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.

<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"/>



If you reply to this email, your message will be added to the discussion below:
http://newgenlib.2944635.n2.nabble.com/Making-NGL-opac-load-really-faster-tp7049380p7049380.html
To start a new topic under NewGenLib, email [hidden email]
To unsubscribe from NewGenLib, click here.
NAML

NewGenLib Open Source Support
Verus Solutions Private Limited
www.verussolutions.biz
Reply | Threaded
Open this post in threaded view
|

Re: Making NGL opac load really faster

pedroparkero
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.
Reply | Threaded
Open this post in threaded view
|

Re: Making NGL opac load really faster

onehomelist
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.
Reply | Threaded
Open this post in threaded view
|

Re: Making NGL opac load really faster

pedroparkero
Alright. Thank you for the tip!
-------------------------------------------------
With great knowledge comes great responsibility.