Repository: redhat-developer/red-hat-developers-documentation-rhdh
Pull request #1169: RHIDP-5184 - added steps to _Configuring Redis cache_
Author: login: themr0c
Labels: name: Technical review done :partly_sunny:
description: Any procedure has been succesfully tested
name: Ready to merge  :guard:
name: Peer review done :blue_book:
Created: 2025-05-16T14:30:45Z | Merged: 2025-05-19T13:57:25Z

<!--- PR title format: [GH#<gh-issue-id>][BZ#<bz-issue-id>][RHIDP#<jira-issue-id>]: <short-description-of-the-pr> --->

<!--- If your changes apply to the latest released and/or in-development version of RHDH, open your PR against the `main` branch and cherrypick your PR to any released branches that you want to apply your changes to. --->

<!--- Add the relevant labels to the Pull Request. Update the labels, as needed, to reflect the current status of the PR. --->


**IMPORTANT: Do Not Merge - To be merged by Docs Team Only**

**Version(s):** 1.5 1.6
<!--- Specify the version(s) of RHDH that your PR applies to. -->
**Issue:** https://issues.redhat.com/browse/RHIDP-5184
<!--- Add a link to the Jira issue. --->
**Preview:** [10. Enabling the Red Hat Developer Hub plugin assets cache](https://redhat-developer.github.io/red-hat-developers-documentation-rhdh/pr-1169/configuring/#enabling-the-rhdh-plugin-assets-cache_running-behind-a-proxy)
<!--- Add a link to the preview of the changed file(s). --->



Diff:
diff --git a/modules/configuring/proc-enabling-the-rhdh-plugin-assets-cache.adoc b/modules/configuring/proc-enabling-the-rhdh-plugin-assets-cache.adoc
new file mode 100644
index 00000000000..add80975a49
--- /dev/null
+++ b/modules/configuring/proc-enabling-the-rhdh-plugin-assets-cache.adoc
@@ -0,0 +1,37 @@
+[id="enabling-the-rhdh-plugin-assets-cache_{context}"]
+= Enabling the {product} plugin assets cache
+
+By default, {product} does not cache plugin assets.
+You can use a Redis cache store to improve {product-short} performance and reliability.
+Configured plugins in {product-short} receive dedicated cache connections, which are powered by the Keyv Redis client.
+
+.Prerequisites
+* You have installed {product}.
+* You have an active Redis server.
+For more information on setting up an external Redis server, see the link:https://www.redis.io/docs/latest/[`official Redis documentation`].
+
+.Procedure
+. Enable the {product-short} cache by defining Redis as the cache store type and entering your Redis server connection URL in your `{my-app-config-file}` file.
++
+.`{my-app-config-file}` file fragment
+[source,yaml,subs="+quotes"]
+----
+backend:
+  cache:
+    store: redis
+    connection: redis://user:pass@cache.example.com:6379
+----
+
+. Enable the cache for Techdocs by adding the `techdocs.cache.ttl` setting in your `{my-app-config-file}` file.
+This setting specifies how long, in milliseconds, a statically built asset should stay in the cache.
++
+.`{my-app-config-file}` file fragment
+[source,yaml]
+----
+techdocs:
+  cache:
+    ttl: 3600000
+----
+
+TIP: Optionally, enable the cache for unsupported plugins that support this feature.
+See their respective documentation for details.
diff --git a/modules/dynamic-plugins/proc-installing-and-configuring-redis-cache.adoc b/modules/dynamic-plugins/proc-installing-and-configuring-redis-cache.adoc
deleted file mode 100644
index d92ddc04591..00000000000
--- a/modules/dynamic-plugins/proc-installing-and-configuring-redis-cache.adoc
+++ /dev/null
@@ -1,17 +0,0 @@
-[id="proc-installing-and-configuring-redis-cache_{context}"]
-= Configuring the Redis cache for dynamic plugins in {product}.
-You can use the Redis cache store to improve {product-very-short} performance and reliability. Plugins in {product-very-short} receive dedicated cache connections, which are powered by Keyv.
-
-.Prerequisites
-* You have installed Red Hat Developer Hub by using either the Operator or Helm chart.
-* You have an active Redis server. For more information on setting up an external Redis server, see the  link:https://www.redis.io/docs/latest/[`Redis official documentation`].
-
-.Procedure
-Add the following code to your `{my-app-config-file}` file:
-[source, yaml]
-----
-backend:
-  cache:
-    store: redis
-    connection: redis://user:pass@cache.example.com:6379
-----
diff --git a/titles/configuring/master.adoc b/titles/configuring/master.adoc
index e2d611561fc..fb3b2ac3d12 100644
--- a/titles/configuring/master.adoc
+++ b/titles/configuring/master.adoc
@@ -36,5 +36,5 @@ include::modules/dynamic-plugins/con-dynamic-plugins-cache.adoc[ leveloffset=+1]
 include::assemblies/assembly-configuring-default-secret-pvc-mounts.adoc[leveloffset=+1]
 
 
-include::modules/dynamic-plugins/proc-installing-and-configuring-redis-cache.adoc[leveloffset=+1]
+include::modules/configuring/proc-enabling-the-rhdh-plugin-assets-cache.adoc[leveloffset=+1]
 


Reviews:
user: login: copilot-pull-request-reviewer[bot]
body: ## Pull Request Overview

This PR restructures and expands the Redis cache configuration documentation by moving it from the dynamic-plugins module into the main configuring section and adding detailed steps for TTL and optional plugin caching.

- Updated the include path in the main AsciiDoc index to point to the new location.
- Deleted the old Redis cache doc under `modules/dynamic-plugins` and created an enriched version under `modules/configuring`.
- Added instructions for setting a cache TTL for Techdocs and noted optional preview plugin support.

### Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

| File                                                        | Description                                                   |
| ----------------------------------------------------------- | ------------------------------------------------------------- |
| titles/configuring/master.adoc                              | Updated include directive to new module path                  |
| modules/dynamic-plugins/proc-installing-and-configuring-redis-cache.adoc | Removed obsolete Redis cache configuration doc                |
| modules/configuring/proc-installing-and-configuring-redis-cache.adoc      | Added new, detailed Redis cache setup steps (connection, TTL, optional plugins) |


<details>
<summary>Comments suppressed due to low confidence (1)</summary>

**modules/configuring/proc-installing-and-configuring-redis-cache.adoc:32**
* [nitpick] Standardize the feature name—capitalize 'Technology Preview' consistently and consider adding an example or link to instructions for enabling in preview plugins.
```
. Optionally, enable the Redis cache for technology Preview or Developer Preview plugins that have the feature, such as the Bulk Import plugin.
```
</details>


state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-16T14:33:11Z
user: login: kim-tsao
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-05-16T15:47:23Z
user: login: kim-tsao
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-05-16T15:47:56Z
user: login: kim-tsao
body: PTAL at the comments
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-05-16T15:49:23Z
user: login: themr0c
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-05-19T08:39:53Z
user: login: themr0c
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-05-19T08:45:55Z
user: login: themr0c
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-05-19T08:57:29Z
user: login: themr0c
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-05-19T09:01:27Z
user: login: themr0c
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-05-19T09:02:48Z
user: login: themr0c
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-05-19T09:07:36Z
user: login: jmagak
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-05-19T11:18:30Z
user: login: gashcrumb
state: APPROVED
author_association: MEMBER
submitted_at: 2025-05-19T13:49:33Z

Review comments:
diff_hunk: @@ -0,0 +1,32 @@
+[id="proc-installing-and-configuring-redis-cache_{context}"]
+= Configuring the Redis cache for dynamic plugins in {product}.
+
+By default {product} does not cache plugin assets.
+You can use a Redis cache store to improve {product-very-short} performance and reliability.
+Configured plugins in {product-very-short} receive dedicated cache connections, which are powered by the Keyv redis client.
+
+.Prerequisites
+* You have installed Red Hat Developer Hub by using either the Operator or Helm chart.
+* You have an active Redis server. For more information on setting up an external Redis server, see the  link:https://www.redis.io/docs/latest/[`Redis official documentation`].
path: modules/configuring/proc-installing-and-configuring-redis-cache.adoc
user: login: Copilot
body: Remove the extra space before 'link:' to correct the spacing in the sentence.
```suggestion
* You have an active Redis server. For more information on setting up an external Redis server, see the link:https://www.redis.io/docs/latest/[`Redis official documentation`].
```
created_at: 2025-05-16T14:33:10Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,32 @@
+[id="proc-installing-and-configuring-redis-cache_{context}"]
+= Configuring the Redis cache for dynamic plugins in {product}.
+
+By default {product} does not cache plugin assets.
+You can use a Redis cache store to improve {product-very-short} performance and reliability.
+Configured plugins in {product-very-short} receive dedicated cache connections, which are powered by the Keyv redis client.
+
+.Prerequisites
+* You have installed Red Hat Developer Hub by using either the Operator or Helm chart.
+* You have an active Redis server. For more information on setting up an external Redis server, see the  link:https://www.redis.io/docs/latest/[`Redis official documentation`].
+
+.Procedure
+. To configure the connection to your Redis server, add the following code to your `{my-app-config-file}` file:
++
+[source,yaml]
+----
+backend:
+  cache:
+    store: redis
+    connection: redis://user:pass@cache.example.com:6379
+----
+
+. To enable the Redis cache for Techdocs, enter in your `{my-app-config-file}` file how long in milliseconds a statically built asset should stay in the Redis cache.
++
+[source,yaml]
path: modules/configuring/proc-installing-and-configuring-redis-cache.adoc
user: login: Copilot
body: [nitpick] Rephrase to explicitly state where to add the TTL setting (e.g., under `techdocs.cache.ttl`) and consider providing a labeled snippet heading for clarity.
```suggestion
. To enable the Redis cache for Techdocs, add the `ttl` setting under the `techdocs.cache` configuration path in your `{my-app-config-file}` file. This setting specifies how long, in milliseconds, a statically built asset should stay in the Redis cache.
+
[source,yaml]
.Example: Configuring TTL for Techdocs Cache
```
created_at: 2025-05-16T14:33:10Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,32 @@
+[id="proc-installing-and-configuring-redis-cache_{context}"]
+= Configuring the Redis cache for dynamic plugins in {product}.
+
+By default {product} does not cache plugin assets.
+You can use a Redis cache store to improve {product-very-short} performance and reliability.
+Configured plugins in {product-very-short} receive dedicated cache connections, which are powered by the Keyv redis client.
+
+.Prerequisites
+* You have installed Red Hat Developer Hub by using either the Operator or Helm chart.
+* You have an active Redis server. For more information on setting up an external Redis server, see the  link:https://www.redis.io/docs/latest/[`Redis official documentation`].
+
+.Procedure
+. To configure the connection to your Redis server, add the following code to your `{my-app-config-file}` file:
++
path: modules/configuring/proc-installing-and-configuring-redis-cache.adoc
user: login: Copilot
body: [nitpick] This standalone '++' marker may be unnecessary—remove it for consistency with the previous version and to avoid unintended layout changes.
```suggestion

```
created_at: 2025-05-16T14:33:11Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,32 @@
+[id="proc-installing-and-configuring-redis-cache_{context}"]
+= Configuring the Redis cache for dynamic plugins in {product}.
+
+By default {product} does not cache plugin assets.
+You can use a Redis cache store to improve {product-very-short} performance and reliability.
+Configured plugins in {product-very-short} receive dedicated cache connections, which are powered by the Keyv redis client.
+
+.Prerequisites
+* You have installed Red Hat Developer Hub by using either the Operator or Helm chart.
+* You have an active Redis server. For more information on setting up an external Redis server, see the  link:https://www.redis.io/docs/latest/[`Redis official documentation`].
+
+.Procedure
+. To configure the connection to your Redis server, add the following code to your `{my-app-config-file}` file:
++
+[source,yaml]
+----
+backend:
+  cache:
+    store: redis
+    connection: redis://user:pass@cache.example.com:6379
+----
+
+. To enable the Redis cache for Techdocs, enter in your `{my-app-config-file}` file how long in milliseconds a statically built asset should stay in the Redis cache.
++
+[source,yaml]
path: modules/configuring/proc-installing-and-configuring-redis-cache.adoc
user: login: kim-tsao
body: Adding to the copilot review, maybe we can just say:

```suggestion
. To enable the Redis cache for Techdocs, add the `techdocs.cache.ttl` setting in your `{my-app-config-file}` file.  This setting specifies how long, in milliseconds, a statically built asset should stay in the Redis cache.
+
[source,yaml]
```
created_at: 2025-05-16T15:47:23Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,32 @@
+[id="proc-installing-and-configuring-redis-cache_{context}"]
+= Configuring the Redis cache for dynamic plugins in {product}.
+
+By default {product} does not cache plugin assets.
+You can use a Redis cache store to improve {product-very-short} performance and reliability.
+Configured plugins in {product-very-short} receive dedicated cache connections, which are powered by the Keyv redis client.
+
+.Prerequisites
+* You have installed Red Hat Developer Hub by using either the Operator or Helm chart.
+* You have an active Redis server. For more information on setting up an external Redis server, see the  link:https://www.redis.io/docs/latest/[`Redis official documentation`].
+
+.Procedure
+. To configure the connection to your Redis server, add the following code to your `{my-app-config-file}` file:
++
+[source,yaml]
+----
+backend:
+  cache:
+    store: redis
+    connection: redis://user:pass@cache.example.com:6379
+----
+
+. To enable the Redis cache for Techdocs, enter in your `{my-app-config-file}` file how long in milliseconds a statically built asset should stay in the Redis cache.
++
+[source,yaml]
+----
+techdocs:
+  cache:
+    ttl: 3600000
+----
+
+. Optionally, enable the Redis cache for technology Preview or Developer Preview plugins that have the feature, such as the Bulk Import plugin.
path: modules/configuring/proc-installing-and-configuring-redis-cache.adoc
user: login: kim-tsao
body: ```suggestion
. Optionally, enable the Redis cache for Technology Preview or Developer Preview plugins that have the feature, such as the Bulk Import plugin.
```
created_at: 2025-05-16T15:47:56Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,32 @@
+[id="proc-installing-and-configuring-redis-cache_{context}"]
+= Configuring the Redis cache for dynamic plugins in {product}.
+
+By default {product} does not cache plugin assets.
+You can use a Redis cache store to improve {product-very-short} performance and reliability.
+Configured plugins in {product-very-short} receive dedicated cache connections, which are powered by the Keyv redis client.
+
+.Prerequisites
+* You have installed Red Hat Developer Hub by using either the Operator or Helm chart.
+* You have an active Redis server. For more information on setting up an external Redis server, see the link:https://www.redis.io/docs/latest/[`Redis official documentation`].
+
+.Procedure
+. To configure the connection to your Redis server, add the following code to your `{my-app-config-file}` file:
++
+[source,yaml]
+----
+backend:
+  cache:
+    store: redis
+    connection: redis://user:pass@cache.example.com:6379
+----
+
+. To enable the Redis cache for Techdocs, add the `techdocs.cache.ttl` setting in your `{my-app-config-file}` file.  This setting specifies how long, in milliseconds, a statically built asset should stay in the Redis cache.
++
+[source,yaml]
+----
+techdocs:
+  cache:
+    ttl: 3600000
+----
+
path: modules/configuring/proc-installing-and-configuring-redis-cache.adoc
user: login: themr0c
body: ```suggestion
.`{my-app-config-file}` file fragment
[source,yaml,subs="+quotes"]
----
backend:
  cache:
    store: redis
    connection: redis://user:pass@cache.example.com:6379
----

. To enable the Redis cache for Techdocs, add the `techdocs.cache.ttl` setting in your `{my-app-config-file}` file.  This setting specifies how long, in milliseconds, a statically built asset should stay in the Redis cache.
+
.`{my-app-config-file}` file fragment
[source,yaml]
----
techdocs:
  cache:
    ttl: 3600000
----

```
created_at: 2025-05-19T08:39:53Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,34 @@
+[id="proc-installing-and-configuring-redis-cache_{context}"]
+= Configuring the Redis cache for dynamic plugins in {product}.
+
+By default {product} does not cache plugin assets.
+You can use a Redis cache store to improve {product-very-short} performance and reliability.
+Configured plugins in {product-very-short} receive dedicated cache connections, which are powered by the Keyv redis client.
+
+.Prerequisites
+* You have installed Red Hat Developer Hub by using either the Operator or Helm chart.
+* You have an active Redis server. For more information on setting up an external Redis server, see the link:https://www.redis.io/docs/latest/[`Redis official documentation`].
+
+.Procedure
+. To configure the connection to your Redis server, add the following code to your `{my-app-config-file}` file:
path: modules/configuring/proc-installing-and-configuring-redis-cache.adoc
user: login: themr0c
body: ```suggestion
. Enable the Redis store cache and enter your Redis server connection URL in your `{my-app-config-file}` file:
```
created_at: 2025-05-19T08:45:55Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,34 @@
+[id="proc-installing-and-configuring-redis-cache_{context}"]
+= Configuring the Redis cache for dynamic plugins in {product}.
+
+By default {product} does not cache plugin assets.
+You can use a Redis cache store to improve {product-very-short} performance and reliability.
+Configured plugins in {product-very-short} receive dedicated cache connections, which are powered by the Keyv redis client.
+
+.Prerequisites
+* You have installed Red Hat Developer Hub by using either the Operator or Helm chart.
+* You have an active Redis server. For more information on setting up an external Redis server, see the link:https://www.redis.io/docs/latest/[`Redis official documentation`].
+
+.Procedure
+. Enable the Redis store cache and enter your Redis server connection URL in your `{my-app-config-file}` file:
++
+.`{my-app-config-file}` file fragment
+[source,yaml,subs="+quotes"]
+----
+backend:
+  cache:
+    store: redis
+    connection: redis://user:pass@cache.example.com:6379
+----
+
+. To enable the Redis cache for Techdocs, add the `techdocs.cache.ttl` setting in your `{my-app-config-file}` file.  This setting specifies how long, in milliseconds, a statically built asset should stay in the Redis cache.
++
+.`{my-app-config-file}` file fragment
+[source,yaml]
+----
+techdocs:
+  cache:
+    ttl: 3600000
+----
+
+. Optionally, enable the Redis cache for Technology Preview or Developer Preview plugins that have the feature, such as the Bulk Import plugin.
path: modules/configuring/proc-installing-and-configuring-redis-cache.adoc
user: login: themr0c
body: Reading https://github.com/redhat-developer/rhdh-plugins/blob/main/workspaces/bulk-import/app-config.yaml I do not see that the Bulk Import plugin has the feature.
```suggestion
TIP: Optionally, enable also the Redis cache for unsupported plugins that have the feature. See their respective documentation.
```
created_at: 2025-05-19T08:57:29Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,34 @@
+[id="proc-installing-and-configuring-redis-cache_{context}"]
+= Configuring the Redis cache for dynamic plugins in {product}.
+
+By default {product} does not cache plugin assets.
+You can use a Redis cache store to improve {product-very-short} performance and reliability.
+Configured plugins in {product-very-short} receive dedicated cache connections, which are powered by the Keyv redis client.
+
+.Prerequisites
+* You have installed Red Hat Developer Hub by using either the Operator or Helm chart.
+* You have an active Redis server. For more information on setting up an external Redis server, see the link:https://www.redis.io/docs/latest/[`Redis official documentation`].
+
+.Procedure
+. Enable the Redis store cache and enter your Redis server connection URL in your `{my-app-config-file}` file:
path: modules/configuring/proc-installing-and-configuring-redis-cache.adoc
user: login: themr0c
body: ```suggestion
. Enable the {product-short} cache by defining Redis as the store type and entering your Redis server connection URL in your `{my-app-config-file}` file:
```
created_at: 2025-05-19T09:01:26Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,34 @@
+[id="proc-installing-and-configuring-redis-cache_{context}"]
+= Configuring the Redis cache for dynamic plugins in {product}.
+
+By default {product} does not cache plugin assets.
+You can use a Redis cache store to improve {product-very-short} performance and reliability.
+Configured plugins in {product-very-short} receive dedicated cache connections, which are powered by the Keyv redis client.
+
+.Prerequisites
+* You have installed Red Hat Developer Hub by using either the Operator or Helm chart.
+* You have an active Redis server. For more information on setting up an external Redis server, see the link:https://www.redis.io/docs/latest/[`Redis official documentation`].
+
+.Procedure
+. Enable the {product-short} cache by defining Redis as the store type and entering your Redis server connection URL in your `{my-app-config-file}` file:
++
+.`{my-app-config-file}` file fragment
+[source,yaml,subs="+quotes"]
+----
+backend:
+  cache:
+    store: redis
+    connection: redis://user:pass@cache.example.com:6379
+----
+
+. To enable the Redis cache for Techdocs, add the `techdocs.cache.ttl` setting in your `{my-app-config-file}` file.  This setting specifies how long, in milliseconds, a statically built asset should stay in the Redis cache.
path: modules/configuring/proc-installing-and-configuring-redis-cache.adoc
user: login: themr0c
body: ```suggestion
. Enable the cache for Techdocs by addding the `techdocs.cache.ttl` setting in your `{my-app-config-file}` file.
This setting specifies how long, in milliseconds, a statically built asset should stay in the Redis cache.
```
created_at: 2025-05-19T09:02:47Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,35 @@
+[id="proc-installing-and-configuring-redis-cache_{context}"]
+= Configuring the Redis cache for dynamic plugins in {product}.
path: modules/configuring/proc-installing-and-configuring-redis-cache.adoc
user: login: themr0c
body: To better differentiate with the _Using the dynamic plugins cache_ chapter
```suggestion
= Configuring the plugin assets cache in {product}.
```
created_at: 2025-05-19T09:07:36Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,37 @@
+[id="enabling-the-rhdh-plugin-assets-cache_{context}"]
+= Enabling the {product} plugin assets cache
+
+By default {product} does not cache plugin assets.
path: modules/configuring/proc-enabling-the-rhdh-plugin-assets-cache.adoc
user: login: jmagak
body: ```suggestion
By default, {product} does not cache plugin assets.
```
created_at: 2025-05-19T10:40:46Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,37 @@
+[id="enabling-the-rhdh-plugin-assets-cache_{context}"]
+= Enabling the {product} plugin assets cache
+
+By default {product} does not cache plugin assets.
+You can use a Redis cache store to improve {product-short} performance and reliability.
+Configured plugins in {product-short} receive dedicated cache connections, which are powered by the Keyv redis client.
path: modules/configuring/proc-enabling-the-rhdh-plugin-assets-cache.adoc
user: login: jmagak
body: ```suggestion
Configured plugins in {product-short} receive dedicated cache connections, which are powered by the Keyv Redis client.
```
created_at: 2025-05-19T10:45:52Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,37 @@
+[id="enabling-the-rhdh-plugin-assets-cache_{context}"]
+= Enabling the {product} plugin assets cache
+
+By default {product} does not cache plugin assets.
+You can use a Redis cache store to improve {product-short} performance and reliability.
+Configured plugins in {product-short} receive dedicated cache connections, which are powered by the Keyv redis client.
+
+.Prerequisites
+* You have installed {product}.
+* You have an active Redis server.
+For more information on setting up an external Redis server, see the link:https://www.redis.io/docs/latest/[`Redis official documentation`].
path: modules/configuring/proc-enabling-the-rhdh-plugin-assets-cache.adoc
user: login: jmagak
body: ```suggestion
For more information on setting up an external Redis server, see the link:https://www.redis.io/docs/latest/[`official Redis documentation`].
```
created_at: 2025-05-19T11:02:58Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,37 @@
+[id="enabling-the-rhdh-plugin-assets-cache_{context}"]
+= Enabling the {product} plugin assets cache
+
+By default {product} does not cache plugin assets.
+You can use a Redis cache store to improve {product-short} performance and reliability.
+Configured plugins in {product-short} receive dedicated cache connections, which are powered by the Keyv redis client.
+
+.Prerequisites
+* You have installed {product}.
+* You have an active Redis server.
+For more information on setting up an external Redis server, see the link:https://www.redis.io/docs/latest/[`Redis official documentation`].
+
+.Procedure
+. Enable the {product-short} cache by defining Redis as the cache store type and entering your Redis server connection URL in your `{my-app-config-file}` file.
++
+.`{my-app-config-file}` file fragment
+[source,yaml,subs="+quotes"]
+----
+backend:
+  cache:
+    store: redis
+    connection: redis://user:pass@cache.example.com:6379
+----
+
+. Enable the cache for Techdocs by adding the `techdocs.cache.ttl` setting in your `{my-app-config-file}` file.
+This setting specifies how long, in milliseconds, a statically built asset should stay in the cache.
++
+.`{my-app-config-file}` file fragment
+[source,yaml]
+----
+techdocs:
+  cache:
+    ttl: 3600000
+----
+
+TIP: Optionally, enable the cache for unsupported plugins that have the feature.
+See their respective documentation.
path: modules/configuring/proc-enabling-the-rhdh-plugin-assets-cache.adoc
user: login: jmagak
body: ```suggestion
TIP: Optionally, enable the cache for unsupported plugins that support this feature.
See their respective documentation for details.
```
created_at: 2025-05-19T11:17:35Z
author_association: MEMBER

PR comments:
user: login: rhdh-bot
created_at: 2025-05-16T14:32:48Z
body: Updated preview: https://redhat-developer.github.io/red-hat-developers-documentation-rhdh/pr-1169/ @ 05/19/25 11:59:27
author_association: COLLABORATOR
user: login: pabel-rh
created_at: 2025-05-19T13:57:52Z
body: /cherry-pick release-1.6
author_association: MEMBER
user: login: pabel-rh
created_at: 2025-05-19T13:58:11Z
body: /cherry-pick release-1.5
author_association: MEMBER
user: login: openshift-cherrypick-robot
created_at: 2025-05-19T13:58:30Z
body: @pabel-rh: new pull request created: #1173

<details>

In response to [this](https://github.com/redhat-developer/red-hat-developers-documentation-rhdh/pull/1169#issuecomment-2891141655):

>/cherry-pick release-1.6


Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
</details>
author_association: CONTRIBUTOR
user: login: openshift-cherrypick-robot
created_at: 2025-05-19T13:58:48Z
body: @pabel-rh: #1169 failed to apply on top of branch "release-1.5":
```
Applying: RHIDP-5184 - added steps to _Configuring Redis cache_
Using index info to reconstruct a base tree...
M	modules/dynamic-plugins/proc-installing-and-configuring-redis-cache.adoc
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): modules/dynamic-plugins/proc-installing-and-configuring-redis-cache.adoc deleted in RHIDP-5184 - added steps to _Configuring Redis cache_ and modified in HEAD. Version HEAD of modules/dynamic-plugins/proc-installing-and-configuring-redis-cache.adoc left in tree.
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Patch failed at 0001 RHIDP-5184 - added steps to _Configuring Redis cache_

```

<details>

In response to [this](https://github.com/redhat-developer/red-hat-developers-documentation-rhdh/pull/1169#issuecomment-2891142819):

>/cherry-pick release-1.5


Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
</details>
author_association: CONTRIBUTOR
user: login: pabel-rh
created_at: 2025-05-19T13:59:24Z
body: @themr0c , cherrypicking failed for the 1.5 branch. Could you manually cherrypick for the release-1.5 branch?
author_association: MEMBER