SSL Send data compressed

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

SSL Send data compressed

Postby Janssenjos » Tue Mar 29, 2011 12:00 pm

Hi all,

We have an encrypted connection to one of our webshops.
But when we check in chrome, it says the connection isn't compressed.

Is it possible in to enable this in servoy-server?
(Did we forget abouth a setting or something?)

Image
Jos Janssen
Software Developer
Axerrio
http://www.axerrio.com
Janssenjos
 
Posts: 148
Joined: Thu Aug 13, 2009 3:55 pm
Location: Bergen op Zoom

Re: SSL Send data compressed

Postby pbakker » Tue Mar 29, 2011 12:47 pm

Have you checked the Tuning chapter of the Deployment Guide? https://wiki.servoy.com:8443/display/DO ... the+server

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Re: SSL Send data compressed

Postby Janssenjos » Tue Mar 29, 2011 4:05 pm

Thanks,

I'll look into it.
Jos Janssen
Software Developer
Axerrio
http://www.axerrio.com
Janssenjos
 
Posts: 148
Joined: Thu Aug 13, 2009 3:55 pm
Location: Bergen op Zoom

Re: SSL Send data compressed

Postby merijnp » Tue Apr 12, 2011 11:36 am

Hi,

We changed the server.xml file in C:\Program Files\Servoy\application_server\server\conf\server.xml
and we restarted the service.

Code: Select all
<Connector port="80"
             protocol="HTTP/1.1"
               maxThreads="500" connectionTimeout="60000"
               redirectPort="443" useBodyEncodingForURI="true" compressableMimeType="text/html,text/xml,text/css,text/javascript,text/plain" compression="on" compressionMinSize="2048" />

   <Connector port="443" maxThreads="500"
   scheme="https" secure="true" SSLEnabled="true"
   keystoreFile="conf/keystore/x.ks" keystorePass="x"
   clientAuth="false" sslProtocol="TLS" compressableMimeType="text/html,text/xml,text/css,text/javascript,text/plain" compression="on" compressionMinSize="2048" />


Still the browser says "The connection is not compressed".
Should we change something else?
Merijn Peeters
Software Developer
Axerrio
http://www.axerrio.com
merijnp
 
Posts: 60
Joined: Wed Jan 27, 2010 10:05 am

Re: SSL Send data compressed

Postby pbakker » Tue Apr 12, 2011 12:38 pm

We had a look and it's unclear to us what Google chrome is reporting there.

For example: https://www.google.com reports the same warning but it's content is compressed.

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Re: SSL Send data compressed

Postby merijnp » Tue Apr 12, 2011 12:50 pm

Ok, how can we test if the content is compressed? We tried using Google Chrome Developer Tools, but all data seems to be the same size.
Merijn Peeters
Software Developer
Axerrio
http://www.axerrio.com
merijnp
 
Posts: 60
Joined: Wed Jan 27, 2010 10:05 am

Re: SSL Send data compressed

Postby pbakker » Tue Apr 12, 2011 1:44 pm

Using the Inpector in Google Chrome you can see under Network the files that are being received by the browser. If their size is larger than the min. size you specified for compression (2048) then you should see "content-encoding:gzip" in the Response Headers.

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Re: SSL Send data compressed

Postby merijnp » Tue Apr 12, 2011 1:47 pm

Ok thanks a lot!
Merijn Peeters
Software Developer
Axerrio
http://www.axerrio.com
merijnp
 
Posts: 60
Joined: Wed Jan 27, 2010 10:05 am


Return to Web Development

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron