Chapter 9. Enabling the Red Hat Developer Hub plugin assets cache


By default, Red Hat Developer Hub does not cache plugin assets. You can use a Redis cache store to improve Developer Hub performance and reliability. Configured plugins in Developer Hub receive dedicated cache connections, which are powered by the Keyv Redis client.

Prerequisites

  • You have installed Red Hat Developer Hub.
  • You have an active Redis server. For more information on setting up an external Redis server, see the official Redis documentation.

Procedure

  1. Enable the Developer Hub cache by defining Redis as the cache store type and entering your Redis server connection URL in your app-config.yaml file.

    app-config.yaml file fragment

    backend:
      cache:
        store: redis
        connection: redis://user:pass@cache.example.com:6379
    Copy to Clipboard Toggle word wrap

  2. Enable the cache for Techdocs by adding the techdocs.cache.ttl setting in your app-config.yaml file. This setting specifies how long, in milliseconds, a statically built asset should stay in the cache.

    app-config.yaml file fragment

    techdocs:
      cache:
        ttl: 3600000
    Copy to Clipboard Toggle word wrap

Tip

Optionally, enable the cache for unsupported plugins that support this feature. See their respective documentation for details.

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top