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 fc396b259 Updates stage by Jenkins
fc396b259 is described below

commit fc396b2590ec1a5d7625fc7c4255b3e58fa473f1
Author: jenkins <bui...@apache.org>
AuthorDate: Fri Jan 3 06:30:45 2025 +0000

    Updates stage by Jenkins
---
 content/core-developers/performance-tuning.html | 18 +++++++++++++++++-
 content/tag-developers/freemarker.html          |  2 +-
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/content/core-developers/performance-tuning.html 
b/content/core-developers/performance-tuning.html
index 3797fd3f8..554b9c4c3 100644
--- a/content/core-developers/performance-tuning.html
+++ b/content/core-developers/performance-tuning.html
@@ -151,7 +151,23 @@
     <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 id="performance-tuning-1">Performance tuning</h2>
+<h2 class="no_toc" id="performance-tuning-1">Performance tuning</h2>
+
+<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 &amp; 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>
+</ul>
 
 <p>The following are some tips and tricks to squeeze the most performance out 
of Struts 2.</p>
 
diff --git a/content/tag-developers/freemarker.html 
b/content/tag-developers/freemarker.html
index 966042d07..e40697efa 100644
--- a/content/tag-developers/freemarker.html
+++ b/content/tag-developers/freemarker.html
@@ -466,7 +466,7 @@ logic to take place instead.</p>
 
 <ul>
   <li><code class="language-plaintext highlighter-rouge">&lt;constant 
name="struts.freemarker.mru.max.strong.size" value="250" /&gt;</code> - this 
option will be used 
-by <a 
href="http://freemarker.org/docs/api/freemarker/cache/MruCacheStorage";>freemarker.cache.MruCacheStorage</a>,
 see <a 
href="https://freemarker.apache.org/docs/pgui_config_templateloading.html#pgui_config_templateloading_caching";>Template
 cache</a> section as well.</li>
+by <a 
href="http://freemarker.org/docs/api/freemarker/cache/MruCacheStorage";>freemarker.cache.MruCacheStorage</a>,
 see also <a 
href="https://freemarker.apache.org/docs/pgui_config_templateloading.html#pgui_config_templateloading_caching";>Template
 caching</a>.</li>
   <li><code class="language-plaintext highlighter-rouge">&lt;constant 
name="struts.freemarker.templatesCache.updateDelay" value="60 s" /&gt;</code> - 
default update cache interval (60 seconds), as from <a 
href="https://freemarker.apache.org/docs/versions_2_3_23.html#autoid_176";>FreeMarker
 2.3.23</a> timeunits are also supported</li>
   <li><code class="language-plaintext highlighter-rouge">&lt;constant 
name="struts.freemarker.templatesCache" value="true" /&gt;</code> - 
<strong>DEPRECATED</strong> this option will use an internal 
 ConcurrentHashMap in FreemarkerTemplateEngine but not freemarker native cache 
(this option has been removed in the latest Struts versions)</li>

Reply via email to