This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/asf-staging by this push:
new f576d8564 Updates stage by Jenkins
f576d8564 is described below
commit f576d856482d01062b3f3c5df2db5dc58e8c53df
Author: jenkins <[email protected]>
AuthorDate: Fri Jan 3 06:43:19 2025 +0000
Updates stage by Jenkins
---
content/core-developers/performance-tuning.html | 27 ++++++++++---------------
1 file changed, 11 insertions(+), 16 deletions(-)
diff --git a/content/core-developers/performance-tuning.html
b/content/core-developers/performance-tuning.html
index 554b9c4c3..897dcb4af 100644
--- a/content/core-developers/performance-tuning.html
+++ b/content/core-developers/performance-tuning.html
@@ -149,24 +149,19 @@
<section class="col-md-12">
<a href="index.html" title="back to Core Developers Guide"><< back to Core
Developers Guide</a>
<a class="edit-on-gh"
href="https://github.com/apache/struts-site/edit/master/source/core-developers/performance-tuning.md"
title="Edit this page on GitHub">Edit on GitHub</a>
- <h1 id="performance-tuning">Performance Tuning</h1>
-
-<h2 class="no_toc" id="performance-tuning-1">Performance tuning</h2>
+ <h1 class="no_toc" id="performance-tuning">Performance Tuning</h1>
<ul id="markdown-toc">
- <li><a href="#performance-tuning"
id="markdown-toc-performance-tuning">Performance Tuning</a> <ul>
- <li><a href="#turn-off-logging-and-devmode"
id="markdown-toc-turn-off-logging-and-devmode">Turn off logging and
devMode</a></li>
- <li><a href="#use-the-java-templates"
id="markdown-toc-use-the-java-templates">Use the Java Templates</a></li>
- <li><a href="#do-not-use-interceptors-you-do-not-need"
id="markdown-toc-do-not-use-interceptors-you-do-not-need">Do not use
interceptors you do not need</a></li>
- <li><a href="#use-the-correct-http-headers-cache-control--expires"
id="markdown-toc-use-the-correct-http-headers-cache-control--expires">Use the
correct HTTP headers (Cache-Control & Expires)</a></li>
- <li><a
href="#copy-the-static-content-from-the-struts-2-jar-when-using-the-ajax-theme-dojo-or-the-calendar-tag"
id="markdown-toc-copy-the-static-content-from-the-struts-2-jar-when-using-the-ajax-theme-dojo-or-the-calendar-tag">Copy
the static content from the Struts 2 jar when using the Ajax theme (Dojo) or
the Calendar tag</a></li>
- <li><a
href="#create-a-freemarkerproperties-file-in-your-web-infclasses-directory"
id="markdown-toc-create-a-freemarkerproperties-file-in-your-web-infclasses-directory">Create
a freemarker.properties file in your WEB-INF/classes directory</a></li>
- <li><a href="#enable-freemarker-template-caching"
id="markdown-toc-enable-freemarker-template-caching">Enable Freemarker template
caching</a></li>
- <li><a
href="#when-overriding-a-theme-copy-all-necessary-templates-to-the-theme-directory"
id="markdown-toc-when-overriding-a-theme-copy-all-necessary-templates-to-the-theme-directory">When
overriding a theme, copy all necessary templates to the theme
directory</a></li>
- <li><a href="#do-not-create-sessions-unless-you-need-them"
id="markdown-toc-do-not-create-sessions-unless-you-need-them">Do not create
sessions unless you need them</a></li>
- <li><a
href="#when-using-freemarker-try-to-use-the-freemarker-equivalent-rather-than-using-the-jsp-tags"
id="markdown-toc-when-using-freemarker-try-to-use-the-freemarker-equivalent-rather-than-using-the-jsp-tags">When
using Freemarker, try to use the Freemarker equivalent rather than using the
JSP tags</a></li>
- </ul>
- </li>
+ <li><a href="#turn-off-logging-and-devmode"
id="markdown-toc-turn-off-logging-and-devmode">Turn off logging and
devMode</a></li>
+ <li><a href="#use-the-java-templates"
id="markdown-toc-use-the-java-templates">Use the Java Templates</a></li>
+ <li><a href="#do-not-use-interceptors-you-do-not-need"
id="markdown-toc-do-not-use-interceptors-you-do-not-need">Do not use
interceptors you do not need</a></li>
+ <li><a href="#use-the-correct-http-headers-cache-control--expires"
id="markdown-toc-use-the-correct-http-headers-cache-control--expires">Use the
correct HTTP headers (Cache-Control & Expires)</a></li>
+ <li><a
href="#copy-the-static-content-from-the-struts-2-jar-when-using-the-ajax-theme-dojo-or-the-calendar-tag"
id="markdown-toc-copy-the-static-content-from-the-struts-2-jar-when-using-the-ajax-theme-dojo-or-the-calendar-tag">Copy
the static content from the Struts 2 jar when using the Ajax theme (Dojo) or
the Calendar tag</a></li>
+ <li><a
href="#create-a-freemarkerproperties-file-in-your-web-infclasses-directory"
id="markdown-toc-create-a-freemarkerproperties-file-in-your-web-infclasses-directory">Create
a freemarker.properties file in your WEB-INF/classes directory</a></li>
+ <li><a href="#enable-freemarker-template-caching"
id="markdown-toc-enable-freemarker-template-caching">Enable Freemarker template
caching</a></li>
+ <li><a
href="#when-overriding-a-theme-copy-all-necessary-templates-to-the-theme-directory"
id="markdown-toc-when-overriding-a-theme-copy-all-necessary-templates-to-the-theme-directory">When
overriding a theme, copy all necessary templates to the theme
directory</a></li>
+ <li><a href="#do-not-create-sessions-unless-you-need-them"
id="markdown-toc-do-not-create-sessions-unless-you-need-them">Do not create
sessions unless you need them</a></li>
+ <li><a
href="#when-using-freemarker-try-to-use-the-freemarker-equivalent-rather-than-using-the-jsp-tags"
id="markdown-toc-when-using-freemarker-try-to-use-the-freemarker-equivalent-rather-than-using-the-jsp-tags">When
using Freemarker, try to use the Freemarker equivalent rather than using the
JSP tags</a></li>
</ul>
<p>The following are some tips and tricks to squeeze the most performance out
of Struts 2.</p>