Skip to content

goldfix/Redis.Cache

Repository files navigation

Logo

Redis.Cache

Small library (C#) to manage the cache with Redis.

Feature

  • Language C# Framework .NET 4.x
  • Support Extending and Absolute TTL (At the same time)
  • Support native data type (int, string, bool, single and double)...
  • ... and automatically serialization and de-serialization object.
  • Support to compression.

Nuget Package

Here: https://www.nuget.org/packages/Redis.Cache/

Configuration Parameters

Here: https://github.com/goldfix/Redis.Cache/wiki/_pages

Last Version is: 0.9.2

Small optimization.

What?

It is changed format TTL and Date / Time serialization of items.

  • Old format TTL serialization was: hhmmss. Sample: 002000 == 20 minutes.
  • New format TTL serialization is: total seconds. Sample: 1200 == 20 minutes.
  • Old format Date/Time serialization was: yyyyMMddThhmmss. Sample: 20140120T010203
  • New format Date/Time serialization was: yyMMddThhmmss. Sample: 140120T010203

Why?

This format is shorter and more compatible between Python and C#.

Where?

Here: https://www.nuget.org/packages/Redis.Cache/

About

Small library (C#) to manage the cache with Redis.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages