<pre>
<Connector acceptCount="100" connectionTimeout="20000"
disableUploadTimeout="true" port="8080" redirectPort="8443"
compression="on"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml,text/
javascript,application/x-javascript,application/javascript">
</Connector>
<Connector acceptCount="100" disableUploadTimeout="true"
port="8443" scheme="https" secure="true" sslProtocol="TLS"
keystoreFile="conf/lzkeystore" keystorePass="changeit"
compression="on"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml,text/
javascript,application/x-javascript,application/javascript">
</Connector>
</pre>
From: [EMAIL PROTECTED]
Date: March 8, 2007 2:28:06 PM PST
To: [email protected]
Subject: [Laszlo-checkins] r4172 - openlaszlo/branches/legals/docs/
src/dguide
Reply-To: [email protected]
Author: jsundman
Date: 2007-03-08 14:27:57 -0800 (Thu, 08 Mar 2007)
New Revision: 4172
Modified:
openlaszlo/branches/legals/docs/src/dguide/deployers-guide.html
openlaszlo/branches/legals/docs/src/dguide/richtext.html
Log:
domain-specific compression info & tweak to rich text chapter
Modified: openlaszlo/branches/legals/docs/src/dguide/deployers-
guide.html
===================================================================
--- openlaszlo/branches/legals/docs/src/dguide/deployers-
guide.html 2007-03-08 22:04:36 UTC (rev 4171)
+++ openlaszlo/branches/legals/docs/src/dguide/deployers-
guide.html 2007-03-08 22:27:57 UTC (rev 4172)
@@ -92,6 +92,7 @@
this document, but deployers should note that performance of a
servlet
container (and underlying JVM) can have a significant impact on
OpenLaszlo Server
performance. </p>
+<h3>Changing servlet container settings</h3>
<p>Once you have chosen and installed a servlet container, you
may need
to adjust some of its default configuration settings. In
particular,
you may need to configure the default TCP/IP port and secure (SSL/
https)
@@ -106,6 +107,25 @@
beyond the scope of this document; see your servlet container
documentation for details. However, see below for more details
on which
parameters you may need to set.</p>
+<h4>Setting compression</h4>
+<p condition="dhtml">
+For best results, you may need to change your servelet
container's compression settings, especially for DHTML
applications. You can use an internet search engine using a phrase
gzip followed by your server, e.g. 'gzip tomcat'. For example,
here's a typical
+<code> tomcat/conf/server.xml</code>
+</p>
+<pre>
+ <Connector acceptCount="100" connectionTimeout="20000"
disableUploadTimeout="true" port="8080" redirectPort="8443"
+ compression="on"
+ compressionMinSize="2048"
+ noCompressionUserAgents="gozilla, traviata"
+ compressableMimeType="text/html,text/xml,text/
javascript,application/x-javascript,application/javascript">
+ </Connector>
+ <Connector acceptCount="100" disableUploadTimeout="true"
port="8443" scheme="https" secure="true" sslProtocol="TLS"
keystoreFile="conf/lzkeystore" keystorePass="changeit"
+ compression="on"
+ compressionMinSize="2048"
+ noCompressionUserAgents="gozilla, traviata"
+ compressableMimeType="text/html,text/xml,text/
javascript,application/x-javascript,application/javascript">
+ </Connector>
+</pre>
<h3><a name="javamemconfig"></a>Setting Java memory (heap) sizes</
h3>
<p>You can set the heap sizes via the <code>-Xmx</code> and
<code>-Xms</code> command
line options such</p><pre>
Modified: openlaszlo/branches/legals/docs/src/dguide/richtext.html
===================================================================
--- openlaszlo/branches/legals/docs/src/dguide/richtext.html
2007-03-08 22:04:36 UTC (rev 4171)
+++ openlaszlo/branches/legals/docs/src/dguide/richtext.html
2007-03-08 22:27:57 UTC (rev 4172)
@@ -7,7 +7,7 @@
<body>
<!-- Put Chapter title in h1 -->
-<h1>Rich Text</h1>
+<h1 condition="swf">Rich Text</h1>
<p>OpenLaszlo provides a rich text object and capabilities for
procedurally setting HTML text attributes:</p>
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins