Akumina Developer Documentation

Akumina Developer Documentation

  • API
  • Docs
  • Blog

›Configuration

Akumina

  • Quickstart

Yo Akumina

  • Yo Akumina
  • Start with Yeoman
  • React
  • Simple template

Widget Builder

  • Widget Builder Structure
  • Akumina Widget Builder
  • Skipping instances
  • Token replacement for widget properties

Widget Development Quickstart

  • Setting up the Project
  • Configuring .env file
  • Configuring - akumina.sitedployer.config.json file
  • Configuring - akumina.config.json file
  • Extras

Widget Info

  • Akumina Widgets Overview
  • Building a New Widget Instance
  • Widget Views
  • Widget Properties
  • Global vs Local widgets (Widget Scoping)
  • Akumina React Widgets
  • Callbacks
  • RenderChildWidgets
  • Vendor Package List

Virtual Page Builder

  • Akumina Virtual Page Builder
  • Using Virtual Page Layouts
  • Creating a Custom Layout

Stream Card Builder

  • Installation
  • Stream Card Builder
  • Custom Cards
  • Activity Comments Config
  • Akumina Activity Stream PUSH Subscription using PowerAutomate to connect to ServiceNow
  • Akumina Activity Stream PUSH Subscription using PowerAutomate to connect to Dynamic 365

Site Deployer

  • Overview
  • Version 6.0
  • List Attribute Deployments
  • NPM Commands
  • SPA Updates and Deploying to multiple sites

Authoring

  • Content Action Event
  • Publish Validation Integration
  • Field Event Integration
  • CK Editor external plugins

Headless

  • Quickstart
  • Headless Teams support
  • Headless Troubleshooting

Modern

  • Overview
  • FAQ
  • Single Page Application
  • Modern Web Part Library
  • Google Analytics for Modern Pages

Site Creator

  • Overview
  • Adding A Custom Site Definition
  • Core Step Classes
  • Custom Site Definition Components
  • Custom Site Definition XML
  • Custom Subsite Definitions
  • Sample Step Code
  • Supported Tokens

Azure DevOps

  • CI/CD using Azure DevOps
  • Setting up a build to deploy a site package
  • Setting up a build to deploy file to App Manager hosted in an app service

Configuration

  • Configuration Context Overview
  • Edit the Redis cache timeout
  • Using a key vault for the client id and client secret

Debugging

  • Debugging in Akumina

Advanced

  • Central Site Collection Support
  • Eventing OOB Digital Workplace Events
  • Working with custom JSX Views
  • Page Indexing

Service Hub

  • Quickstart

Patch Notes

  • Patch Notes

Edit the Redis cache timeout

Applies to

Akumina 4.1.1901.0110 and later

Introduction

This article details how to edit the Redis cache timeout.

Ensure Redis is used for the token store in unity.config

In the unity.config file, replace the following key:

<register type="IRepository[UserToken]" mapTo="AzureTableTokenStore" />

with

<register type="IRepository[UserToken]" mapTo="RedisTokenStore" />

Edit the Redis cache timeout settings

In the interchange.settings.config file, edit the cache setting. Note this is in seconds:

<add key="akumina:CacheExpireInSeconds" value="3599" />

Edit the Redis cache expiration mode

In the interchange.settings.config file, locate the following key. If it is not there, then add it:

<add key="akumina:RedisTokenCacheExpirationMode" value="Sliding" />

Other allowable values are:

<add key="akumina:RedisTokenCacheExpirationMode" value="Absolute" />

<add key="akumina:RedisTokenCacheExpirationMode" value="Never" />

See also

  • Configuring Redis Caching
← Configuration Context OverviewUsing a key vault for the client id and client secret →
  • Applies to
  • Introduction
  • Ensure Redis is used for the token store in unity.config
  • Edit the Redis cache timeout settings
  • Edit the Redis cache expiration mode
  • See also
Akumina Developer Documentation
Docs
Akumina Framework 5.0Akumina Widget BuilderAkumina Yeoman GeneratorSite Deployer
Community
Akumina Community Site
More
GitHubStar
Copyright © 2024 Akumina