Remora.Discord.Caching.Redis
1.0.15
Prefix Reserved
See the version list below for details.
dotnet add package Remora.Discord.Caching.Redis --version 1.0.15
NuGet\Install-Package Remora.Discord.Caching.Redis -Version 1.0.15
<PackageReference Include="Remora.Discord.Caching.Redis" Version="1.0.15" />
paket add Remora.Discord.Caching.Redis --version 1.0.15
#r "nuget: Remora.Discord.Caching.Redis, 1.0.15"
// Install Remora.Discord.Caching.Redis as a Cake Addin #addin nuget:?package=Remora.Discord.Caching.Redis&version=1.0.15 // Install Remora.Discord.Caching.Redis as a Cake Tool #tool nuget:?package=Remora.Discord.Caching.Redis&version=1.0.15
Remora.Discord.Caching.Redis
This package contains a distributed, Redis-based cache provider which can replace the default in-memory cache provider. This alternate cache provider enables a shared cache between multiple applications, which may include (but is not limited to) shards, other bots, and shark-mounted laser cannons.
Structure
The structure is simple, and merely provides a Redis-backed ICacheProvider
implementation.
Usage
Usage is simple, but with one caveat - caching must be enabled after the REST and gateway services have been added to the dependency injection container, as this library replaces services from them.
After that, it's as simple as calling the following method. By default, the caching system uses an in-memory cache provider.
services.AddRedisDiscordCaching();
Note that you are not required to call AddDiscordCaching
; this is taken care
of by the method above.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 6.0.6)
- Remora.Discord.Caching (>= 30.0.1)
-
net5.0
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 6.0.6)
- Remora.Discord.Caching (>= 30.0.1)
-
net6.0
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 6.0.6)
- Remora.Discord.Caching (>= 30.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.8 | 117 | 5/28/2024 |
1.1.7 | 152 | 2/5/2024 |
1.1.6 | 228 | 11/14/2023 |
1.1.5 | 207 | 7/24/2023 |
1.1.4 | 224 | 5/11/2023 |
1.1.3 | 298 | 3/20/2023 |
1.1.2 | 516 | 1/19/2023 |
1.1.1 | 306 | 1/10/2023 |
1.1.0 | 341 | 12/28/2022 |
1.0.24 | 331 | 12/10/2022 |
1.0.23 | 373 | 10/30/2022 |
1.0.22 | 491 | 9/2/2022 |
1.0.21 | 395 | 8/19/2022 |
1.0.20 | 420 | 7/26/2022 |
1.0.19 | 405 | 7/26/2022 |
1.0.18 | 465 | 6/29/2022 |
1.0.17 | 413 | 6/27/2022 |
1.0.16 | 406 | 6/23/2022 |
1.0.15 | 431 | 6/20/2022 |
1.0.14 | 450 | 6/19/2022 |
1.0.13 | 438 | 6/18/2022 |
1.0.12 | 431 | 6/14/2022 |
1.0.11 | 450 | 6/8/2022 |
1.0.10 | 444 | 6/3/2022 |
1.0.9 | 438 | 5/25/2022 |
1.0.8 | 419 | 5/23/2022 |
1.0.7 | 439 | 5/15/2022 |
1.0.6 | 454 | 5/10/2022 |
1.0.5 | 444 | 5/3/2022 |
1.0.4 | 460 | 4/28/2022 |
1.0.3 | 422 | 4/25/2022 |
1.0.0 | 472 | 4/18/2022 |
Update dependencies.