HCL Commerce Version 9.1.2.0 or later

Deploying and configuring Redis for HCL Cache in your HCL Commerce development environment

Deploy and configure Redis on your HCL Commerce Developer Legacy environment to test HCL Cache caching and cache invalidation. If your HCL Commerce development environment also includes a HCL Commerce Developer Search environment with the full Elasticsearch solution, then Redis is already installed. Otherwise, you can install and start it locally.

Procedure

  1. Optional: HCL Commerce Version 9.1.12.0 or later Redis can be deployed in an HCL Commerce development environment using the automated Docker Compose deployment method.
  2. Deploy Redis manually.
    docker run --name redis -e ALLOW_EMPTY_PASSWORD=yes -p 6379:6379 bitnami/redis:latest
  3. Update your HCL Commerce Developer environment configuration.
    1. Open the WCDE_installdir/setup/hcl-cache/redis/singleserver/redis_cfg.yaml Redis configuration file for editing.
    2. Update the Redis hostname and port number in the address field.
    3. Save and close the file.
  4. Optional: Start the HCL Commerce Cache Manager application.

Results

HCL Cache is configured on your HCL Commerce Developer Legacy environment. You can now configure and test caching and caching invalidation.