Base solution for your next web application
Open Closed

Azure Cache for Redis #8198


User avatar
0
datascience created

Dear support, my solution is completely published on Azure. Recently, due to the need to have multiple intances running, I have switched the cache part from "In memory" to "Azure cache for Redis".

The cache works but it seems that cache keys never expires. I did a lot of check and test but I always saw that all keys in Redis have TTL time = -1 (no expiration)

I'm missing something? This is a big problem for my solution.

I'm using an old version of ABP Zero - 0.9.1.1 Angular JS + Asp Net MVC 5

Thx

King regards


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Is your zero version 0.9.11? This seems to be a very old version.

    What is the abp version of your application?

  • User Avatar
    0
    datascience created

    Hi maliming, my Abp version is 1.1.1.0.

    Anyway, I found the problem, keys expiration was not managed in that version of Redis.Cache implementation. I rewrite the module adding the keys expiration management and now works as expected.

    Thanks you

    Best regards