You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by bu...@apache.org on 2013/10/23 04:20:40 UTC

svn commit: r883772 - in /websites/production/tapestry/content: cache/main.pageCache configuration.html performance-and-clustering.html

Author: buildbot
Date: Wed Oct 23 02:20:40 2013
New Revision: 883772

Log:
Production update by buildbot for tapestry

Modified:
    websites/production/tapestry/content/cache/main.pageCache
    websites/production/tapestry/content/configuration.html
    websites/production/tapestry/content/performance-and-clustering.html

Modified: websites/production/tapestry/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/tapestry/content/configuration.html
==============================================================================
--- websites/production/tapestry/content/configuration.html (original)
+++ websites/production/tapestry/content/configuration.html Wed Oct 23 02:20:40 2013
@@ -97,17 +97,19 @@
 
 <h1><a shape="rect" name="Configuration-ConfiguringTapestry"></a>Configuring Tapestry</h1>
 
-<p>Tapestry runs on top of the standard Java Servlet API. To the servlet container, such as Tomcat, Tapestry appears as a <em>servlet filter</em>. This gives Tapestry great flexibility in matching URLs without requiring lots of XML configuration.</p>
+<p>This page discusses all the ways in which Tapestry can be configured. Tapestry applications are configured almost entirely using Java, with very little XML at all.</p>
 
 <p><b>Contents</b></p>
 <div>
-<ul><li><a shape="rect" href="#Configuration-Changestoweb.xml">Changes to web.xml</a></li><li><a shape="rect" href="#Configuration-YourApplication%27sModuleClass">Your Application's Module Class</a></li><li><a shape="rect" href="#Configuration-ConfigurationSymbolNames">Configuration Symbol Names</a></li><ul><li><a shape="rect" href="#Configuration-tapestry.appcatalog">tapestry.app-catalog</a></li><li><a shape="rect" href="#Configuration-tapestry.applicationversion">tapestry.application-version</a></li><li><a shape="rect" href="#Configuration-tapestry.applicationfolder">tapestry.application-folder</a></li><li><a shape="rect" href="#Configuration-tapestry.asseturlfullyqualified">tapestry.asset-url-fully-qualified</a></li><li><a shape="rect" href="#Configuration-tapestry.assetpathprefix">tapestry.asset-path-prefix</a></li><li><a shape="rect" href="#Configuration-tapestry.blackbirdenabled">tapestry.blackbird-enabled</a></li><li><a shape="rect" href="#Configuration-tapestry.bootstraproot
 ">tapestry.bootstrap-root</a></li><li><a shape="rect" href="#Configuration-tapestry.charset">tapestry.charset</a></li><li><a shape="rect" href="#Configuration-tapestry.clusteredsessions">tapestry.clustered-sessions</a></li><li><a shape="rect" href="#Configuration-tapestry.combinescripts">tapestry.combine-scripts</a></li><li><a shape="rect" href="#Configuration-tapestry.compactjson">tapestry.compact-json</a></li><li><a shape="rect" href="#Configuration-tapestry.compatibility.unknowncomponentidcheck...">tapestry.compatibility.unknown-component-id-check-enabled</a></li><li><a shape="rect" href="#Configuration-tapestry.componentrendertracingenabled">tapestry.component-render-tracing-enabled</a></li><li><a shape="rect" href="#Configuration-tapestry.compresswhitespace">tapestry.compress-whitespace</a></li><li><a shape="rect" href="#Configuration-tapestry.compressedassetpathprefix">tapestry.compressed-asset-path-prefix</a></li><li><a shape="rect" href="#Configuration-tapestry.contextpath">
 tapestry.context-path</a></li><li><a shape="rect" href="#Configuration-tapestry.datepicker">tapestry.datepicker</a></li><li><a shape="rect" href="#Configuration-tapestry.defaultcookiemaxage">tapestry.default-cookie-max-age</a></li><li><a shape="rect" href="#Configuration-tapestry.defaultstylesheet">tapestry.default-stylesheet</a></li><li><a shape="rect" href="#Configuration-tapestry.enableminification">tapestry.enable-minification</a></li><li><a shape="rect" href="#Configuration-tapestry.encodelocaleintopath">tapestry.encode-locale-into-path</a></li><li><a shape="rect" href="#Configuration-tapestry.exceptionreportpage">tapestry.exception-report-page</a></li><li><a shape="rect" href="#Configuration-tapestry.executionmode">tapestry.execution-mode</a></li><li><a shape="rect" href="#Configuration-tapestry.filecheckinterval">tapestry.file-check-interval</a></li><li><a shape="rect" href="#Configuration-tapestry.filecheckupdatetimeout">tapestry.file-check-update-timeout</a></li><li><a shap
 e="rect" href="#Configuration-tapestry.forceabsoluteuris">tapestry.force-absolute-uris</a></li><li><a shape="rect" href="#Configuration-tapestry.gzipcompressionenabled">tapestry.gzip-compression-enabled</a></li><li><a shape="rect" href="#Configuration-tapestry.hostname">tapestry.hostname</a></li><li><a shape="rect" href="#Configuration-tapestry.hostport">tapestry.hostport</a></li><li><a shape="rect" href="#Configuration-tapestry.hostportsecure">tapestry.hostport-secure</a></li><li><a shape="rect" href="#Configuration-tapestry.hmacpassphrase">tapestry.hmac-passphrase</a></li><li><a shape="rect" href="#Configuration-tapestry.javascriptinfrastructureprovider">tapestry.javascript-infrastructure-provider</a></li><li><a shape="rect" href="#Configuration-tapestry.mingzipsize">tapestry.min-gzip-size</a></li><li><a shape="rect" href="#Configuration-tapestry.omitgeneratormeta">tapestry.omit-generator-meta</a></li><li><a shape="rect" href="#Configuration-tapestry.pagepool.activewindow">tapestr
 y.page-pool.active-window</a></li><li><a shape="rect" href="#Configuration-tapestry.pagepoolenabled">tapestry.page-pool-enabled</a></li><li><a shape="rect" href="#Configuration-tapestry.pagepool.hardlimit">tapestry.page-pool.hard-limit</a></li><li><a shape="rect" href="#Configuration-tapestry.pagepool.softlimit">tapestry.page-pool.soft-limit</a></li><li><a shape="rect" href="#Configuration-tapestry.pagepool.softwait">tapestry.page-pool.soft-wait</a></li><li><a shape="rect" href="#Configuration-tapestry.persistencestrategy">tapestry.persistence-strategy</a></li><li><a shape="rect" href="#Configuration-tapestry.productionmode">tapestry.production-mode</a></li><li><a shape="rect" href="#Configuration-tapestry.requirejs">tapestry.requirejs</a></li><li><a shape="rect" href="#Configuration-tapestry.secureenabled">tapestry.secure-enabled</a></li><li><a shape="rect" href="#Configuration-tapestry.securepage">tapestry.secure-page</a></li><li><a shape="rect" href="#Configuration-tapestry.servi
 cereloadingenabled">tapestry.service-reloading-enabled</a></li><li><a shape="rect" href="#Configuration-tapestry.scriptaculous">tapestry.scriptaculous</a></li><li><a shape="rect" href="#Configuration-tapestry.sessionlockingenabled">tapestry.session-locking-enabled</a></li><li><a shape="rect" href="#Configuration-tapestry.startpagename">tapestry.start-page-name</a></li><li><a shape="rect" href="#Configuration-tapestry.supportedlocales">tapestry.supported-locales</a></li><li><a shape="rect" href="#Configuration-tapestry.suppressredirectfromactionrequests">tapestry.suppress-redirect-from-action-requests</a></li><li><a shape="rect" href="#Configuration-tapestry.threadpool.corepoolsize">tapestry.thread-pool.core-pool-size</a></li><li><a shape="rect" href="#Configuration-tapestry.threadpool.maxpoolsize">tapestry.thread-pool.max-pool-size</a></li><li><a shape="rect" href="#Configuration-tapestry.threadpool.queuesize">tapestry.thread-pool.queue-size</a></li><li><a shape="rect" href="#Config
 uration-tapestry.threadpool.keepalive">tapestry.thread-pool.keep-alive</a></li><li><a shape="rect" href="#Configuration-tapestry.threadpoolenabled">tapestry.thread-pool-enabled</a></li></ul><li><a shape="rect" href="#Configuration-SettingComponentParameterDefaults">Setting Component Parameter Defaults</a></li><li><a shape="rect" href="#Configuration-ConfiguringIgnoredPaths">Configuring Ignored Paths</a></li><li><a shape="rect" href="#Configuration-ConfiguringContentTypeMapping">Configuring Content Type Mapping</a></li><li><a shape="rect" href="#Configuration-SettingExecutionModes">Setting Execution Modes</a></li><li><a shape="rect" href="#Configuration-SegregatingApplicationsIntoFolders">Segregating Applications Into Folders</a></li></ul></div>
+<ul><li><a shape="rect" href="#Configuration-XMLconfiguration%28web.xml%29">XML configuration (web.xml)</a></li><li><a shape="rect" href="#Configuration-YourApplication%27sModuleClass">Your Application's Module Class</a></li><li><a shape="rect" href="#Configuration-ConfigurationSymbolNames">Configuration Symbol Names</a></li><li><a shape="rect" href="#Configuration-SettingComponentParameterDefaults">Setting Component Parameter Defaults</a></li><li><a shape="rect" href="#Configuration-ConfiguringIgnoredPaths">Configuring Ignored Paths</a></li><li><a shape="rect" href="#Configuration-ConfiguringContentTypeMapping">Configuring Content Type Mapping</a></li><li><a shape="rect" href="#Configuration-SettingExecutionModes">Setting Execution Modes</a></li><li><a shape="rect" href="#Configuration-SegregatingApplicationsIntoFolders">Segregating Applications Into Folders</a></li></ul></div>
+
+<h2><a shape="rect" name="Configuration-XMLconfiguration%28web.xml%29"></a>XML configuration (web.xml)</h2>
 
-<h2><a shape="rect" name="Configuration-Changestoweb.xml"></a>Changes to web.xml</h2>
+<p>Tapestry runs on top of the standard Java Servlet API. To the servlet container, such as Tomcat, Tapestry appears as a <em>servlet filter</em>. This gives Tapestry great flexibility in matching URLs without requiring lots of XML configuration.</p>
 
-<p>Tapestry applications are configured almost entirely using Java, not XML. However, a small but necessary amount of configuration occurs inside the servlet deployment descriptor, WEB-INF/web.xml. Most of the configuration is boilerplate, nearly the same for all applications.</p>
+<p>Although most configuration is done with Java, a small but necessary amount of configuration occurs inside the servlet deployment descriptor, WEB-INF/web.xml. Most of the configuration is boilerplate, nearly the same for all applications.</p>
 
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>web.xml (partial)</b></div><div class="codeContent panelContent">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;!DOCTYPE web-app
       PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"

Modified: websites/production/tapestry/content/performance-and-clustering.html
==============================================================================
--- websites/production/tapestry/content/performance-and-clustering.html (original)
+++ websites/production/tapestry/content/performance-and-clustering.html Wed Oct 23 02:20:40 2013
@@ -82,7 +82,7 @@
 
 <p>But even with all of Tapestry's built-in speediness, to really get top performance you'll need to be sure you're not hamstringing Tapestry. As a start, use the following checklist:</p>
 
-<ul><li>Ensure (be absolutely sure) that <a shape="rect" href="configuration.html#Configuration-tapestry.productionmode">Production Mode</a> is turned on in production.</li><li>Minimize the use of the HTTPSession (see below), especially if you're using clustering.</li><li>Organize your JavaScript files into <a shape="rect" href="javascript.html#JavaScript-JavaScriptStacks">JavaScriptStacks</a>.</li><li>Ensure that your static resources (images, CSS, JavaScript) are being cached by the browser.
+<ul><li>Ensure (be absolutely sure) that <a shape="rect" href="configuration.html#Configuration-tapestry.productionmode">Production Mode</a> is turned on in production.</li><li>Minimize the use of the HTTPSession (see below), especially if you're using clustering.</li><li>Set <a shape="rect" href="configuration.html#Configuration-tapestry.clusteredsessions">tapestry.clustered-sessions</a> to "false" if you aren't using clustering.</li><li>Organize your JavaScript files into <a shape="rect" href="javascript.html#JavaScript-JavaScriptStacks">JavaScriptStacks</a>.</li><li>Ensure that your static resources (images, CSS, JavaScript) are being cached by the browser.
 	<ul><li>Use "asset:" or "context:" <a shape="rect" href="component-parameters.html#ComponentParameters-BindingExpressions">binding prefixes</a> for all links to static resources (images, CSS, JavaScript).</li><li>Make sure that your firewall, proxy server, load balancer, front-end web servers, and app servers all allow caching of static resources.</li><li>Ensure "cache-control" and "vary" HTTP headers are set correctly for your static resources.</li><li>Use a client-based tool (like Firebug) to examine the requests that your browser makes as you navigate through the site. You should <em>not</em> see repeated requests for static resources.</li></ul>
 	</li><li>Consider using a <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/Content_delivery_network" >Content Delivery Network</a> for static parts of your site.</li></ul>