SSL Send data compressed

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?)

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

Paul

Thanks,

I’ll look into it.

Hi,

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

<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?

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

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.

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

Ok thanks a lot!