Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Azure Redis Cache

Gustavo Denis edited this page Oct 31, 2019 · 1 revision
Main > Using Liquid for building your application > Set up configuration per environment > Cache

Configure the Cross-origin resource sharing to use:

##On the back-end:

"AzureRedis": {
    "Configuration": "smarthotel.redis.cache.XXXX,password=XXXXXXXXXXXXXX,ssl=True,abortConnect=False",
    "InstanceName": "XXXXXX",
    "SlidingExpirationSeconds": 5,
    "AbsoluteExpirationRelativeToNowSeconds": 10
  }

Where:

  • [AzureRedis.Configuration]: The string of connection on AzureRedis
  • [AzureRedis.InstanceName]: The name of instance of AzureRedis
  • [AzureRedis.SlidingExpirationSeconds]: Time on seconds from SlidingExpiration
  • [AzureRedis.AbsoluteExpirationRelativeToNowSeconds]: Time on seconds from AbsoluteExpirationRelativeToNow

Clone this wiki locally